]> git.pld-linux.org Git - packages/pcp.git/blobdiff - python-install.patch
- added rpm5 bcond
[packages/pcp.git] / python-install.patch
index ebaee311cd2f6d3dedcce6d6949eedf0a3ce16f0..f41061a11e4912f97950cf168ae0c40dec311342 100644 (file)
@@ -1,16 +1,16 @@
---- pcp-3.10.0/src/include/builddefs.in~       2014-10-28 01:29:54.000000000 +0100
-+++ pcp-3.10.0/src/include/builddefs.in        2015-12-31 13:27:42.495614262 +0100
-@@ -555,13 +555,10 @@
+--- pcp-4.1.0/src/include/builddefs.in~        2018-06-15 03:48:02.000000000 +0200
++++ pcp-4.1.0/src/include/builddefs.in 2018-07-04 17:51:41.172261146 +0200
+@@ -693,13 +693,7 @@ SETUP_PY_BUILD_OPTIONS = --include-dirs=
  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
  SETUP_PY_INSTALL_OPTIONS = --skip-build
- SETUP_PY_INSTALL_OPTIONS += --root=$${DIST_ROOT-/}
+ SETUP_PY_INSTALL_OPTIONS += --root="$${DIST_ROOT:-/}"
 -ifeq "$(PYTHON_PREFIX)" "/usr"
- ifeq "$(PACKAGE_DISTRIBUTION)" "debian"
- SETUP_PY_INSTALL_OPTIONS += --install-layout=deb
- endif
+-ifeq "$(PACKAGE_DISTRIBUTION)" "debian"
+-SETUP_PY_INSTALL_OPTIONS += --install-layout=deb
+-endif
 -else
  SETUP_PY_INSTALL_OPTIONS += --prefix=$(PYTHON_PREFIX)
 -endif
- # RPM byte-compiles and installs results in our DIST_ROOT, cater for this:
- ifeq "$(shell [ '$(TARGET_OS)' = linux -a '$(PACKAGE_DISTRIBUTION)' != gentoo \
-             ] && echo 1)" "1"
+ ifeq "$(ENABLE_PYTHON3)" "true"
+ SETUP_PY_BUILD_OPTIONS += -DENABLE_PYTHON3
+ endif
This page took 0.056747 seconds and 4 git commands to generate.