summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2017-08-27 11:27:21 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-08 09:32:24 +0200
commit2634f3b4d5a52eaf03132e44240d163d4bf1b710 (patch)
treea3dc0c430c4ca91ced5ed6c8518362c356e01121 /dev-libs/libprelude/files
parentdev-lang/php: stable 7.0.23 for hppa, bug #629452 (diff)
downloadgentoo-2634f3b4d5a52eaf03132e44240d163d4bf1b710.tar.gz
gentoo-2634f3b4d5a52eaf03132e44240d163d4bf1b710.tar.bz2
gentoo-2634f3b4d5a52eaf03132e44240d163d4bf1b710.zip
dev-libs/libprelude: Bump version 4.0.0
Closes: https://bugs.gentoo.org/612076
Diffstat (limited to 'dev-libs/libprelude/files')
-rw-r--r--dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch b/dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch
new file mode 100644
index 000000000000..7336b620045a
--- /dev/null
+++ b/dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch
@@ -0,0 +1,38 @@
+--- a/bindings/python/Makefile.am 2017-07-17 12:03:05.653000000 +0200
++++ b/bindings/python/Makefile.am 2017-09-06 18:51:57.179778549 +0200
+@@ -9,35 +9,6 @@
+ all-am: python-build
+
+ python-build: _prelude.cxx
+-if HAVE_PYTHON2
+- CC="$(CXX)" $(PYTHON2) setup.py build
+-endif
+-if HAVE_PYTHON3
+- CC="$(CXX)" $(PYTHON3) setup.py build
+-endif
+-install-exec-hook:
+-if HAVE_PYTHON2
+- $(PYTHON2) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
+-endif
+-if HAVE_PYTHON3
+- $(PYTHON3) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
+-endif
+-
+-uninstall-hook:
+-if HAVE_PYTHON2
+- $(PYTHON2) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
+-endif
+-if HAVE_PYTHON3
+- $(PYTHON3) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
+-endif
+-
+-clean-local:
+-if HAVE_PYTHON2
+- $(PYTHON2) setup.py clean -a
+-endif
+-if HAVE_PYTHON3
+- $(PYTHON3) setup.py clean -a
+-endif
+
+ _prelude.cxx prelude.py: $(top_srcdir)/bindings/c++/include/*.hxx $(top_srcdir)/bindings/libpreludecpp.i libpreludecpp-python.i
+ if HAVE_SWIG