]>
Commit | Line | Data |
---|---|---|
41957462 AM |
1 | --- pcp-4.1.0/src/include/builddefs.in~ 2018-06-15 03:48:02.000000000 +0200 |
2 | +++ pcp-4.1.0/src/include/builddefs.in 2018-07-04 17:51:41.172261146 +0200 | |
3 | @@ -693,13 +693,7 @@ SETUP_PY_BUILD_OPTIONS = --include-dirs= | |
d4a0876a JR |
4 | SETUP_PY_BUILD_OPTIONS += --library-dirs=$(TOPDIR)/src/libpcp/src:$(TOPDIR)/src/libpcp_pmda/src:$(TOPDIR)/src/libpcp_gui/src:$(TOPDIR)/src/libpcp_import/src:$(TOPDIR)/src/libpcp_mmv/src |
5 | SETUP_PY_INSTALL_OPTIONS = --skip-build | |
41957462 | 6 | SETUP_PY_INSTALL_OPTIONS += --root="$${DIST_ROOT-/}" |
d4a0876a | 7 | -ifeq "$(PYTHON_PREFIX)" "/usr" |
41957462 AM |
8 | -ifeq "$(PACKAGE_DISTRIBUTION)" "debian" |
9 | -SETUP_PY_INSTALL_OPTIONS += --install-layout=deb | |
10 | -endif | |
d4a0876a JR |
11 | -else |
12 | SETUP_PY_INSTALL_OPTIONS += --prefix=$(PYTHON_PREFIX) | |
13 | -endif | |
14 | # RPM byte-compiles and installs results in our DIST_ROOT, cater for this: | |
15 | ifeq "$(shell [ '$(TARGET_OS)' = linux -a '$(PACKAGE_DISTRIBUTION)' != gentoo \ | |
16 | ] && echo 1)" "1" |