]> git.pld-linux.org Git - packages/libprelude.git/blame - python-install.patch
- updated python2 configure option
[packages/libprelude.git] / python-install.patch
CommitLineData
25f258d7
JB
1--- libprelude-1.2.6/bindings/python/Makefile.am.orig 2016-01-31 13:45:31.756628496 +0100
2+++ libprelude-1.2.6/bindings/python/Makefile.am 2016-01-31 13:57:00.426599591 +0100
3@@ -10,17 +10,17 @@
718d2808 4
25f258d7
JB
5 python-build: _prelude.cxx
6 if HAVE_PYTHON2
7- CC="$(CXX)" $(PYTHON2) setup.py build
8+ CC="$(CXX)" $(PYTHON2) setup.py build --build-base=build-2
9 endif
10 if HAVE_PYTHON3
11- CC="$(CXX)" $(PYTHON3) setup.py build
12+ CC="$(CXX)" $(PYTHON3) setup.py build --build-base=build-3
13 endif
718d2808 14 install-exec-hook:
25f258d7
JB
15 if HAVE_PYTHON2
16- $(PYTHON2) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
17+ $(PYTHON2) setup.py build --build-base=build-2 install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --skip-build --prefix=$(prefix) --install-purelib=$(pythondir) --install-platlib=$(pyexecdir) --optimize=2
18 endif
19 if HAVE_PYTHON3
20- $(PYTHON3) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
21+ $(PYTHON3) setup.py build --build-base=build-3 install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --skip-build --prefix=$(prefix) --install-purelib=$(python3dir) --install-platlib=$(py3execdir) --optimize=2
22 endif
718d2808
JR
23
24 uninstall-hook:
This page took 0.069895 seconds and 4 git commands to generate.