ebaee311cd2f6d3dedcce6d6949eedf0a3ce16f0
[packages/pcp.git] / python-install.patch
1 --- pcp-3.10.0/src/include/builddefs.in~        2014-10-28 01:29:54.000000000 +0100
2 +++ pcp-3.10.0/src/include/builddefs.in 2015-12-31 13:27:42.495614262 +0100
3 @@ -555,13 +555,10 @@
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
6  SETUP_PY_INSTALL_OPTIONS += --root=$${DIST_ROOT-/}
7 -ifeq "$(PYTHON_PREFIX)" "/usr"
8  ifeq "$(PACKAGE_DISTRIBUTION)" "debian"
9  SETUP_PY_INSTALL_OPTIONS += --install-layout=deb
10  endif
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"
This page took 0.03814 seconds and 2 git commands to generate.