summaryrefslogtreecommitdiff
path: root/libraries/stfl/fix-python-install-in-Makefile.patch
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2012-11-17 18:20:43 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2012-11-17 18:29:55 +0100
commit4e03132f8496e24a5a9121dece042635bd3dad3f (patch)
treef9b08c1e3bc63f1a0eb7cfdff75ac6941051fbb4 /libraries/stfl/fix-python-install-in-Makefile.patch
parentfc8e896dccdec10477f291179c8a2fa5080e7399 (diff)
downloadslackbuilds-4e03132f8496e24a5a9121dece042635bd3dad3f.tar.gz
libraries/stfl: Fixed install directory for python.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/stfl/fix-python-install-in-Makefile.patch')
-rw-r--r--libraries/stfl/fix-python-install-in-Makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/stfl/fix-python-install-in-Makefile.patch b/libraries/stfl/fix-python-install-in-Makefile.patch
new file mode 100644
index 0000000000..689c88330e
--- /dev/null
+++ b/libraries/stfl/fix-python-install-in-Makefile.patch
@@ -0,0 +1,13 @@
+diff -Nur stfl-0.22.a/python/Makefile.snippet stfl-0.22.b/python/Makefile.snippet
+--- stfl-0.22.a/python/Makefile.snippet 2009-06-18 01:27:16.000000000 -0700
++++ stfl-0.22.b/python/Makefile.snippet 2012-10-05 18:24:00.912721777 -0700
+@@ -33,8 +33,7 @@
+
+ install_python: python/_stfl.so python/stfl.py python/stfl.pyc
+ mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/
+- mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
+- cp python/_stfl.so $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
++ cp python/_stfl.so $(DESTDIR)$(PYTHON_SITEARCH)/
+ cp python/stfl.pyc $(DESTDIR)$(PYTHON_SITEARCH)/
+ cp python/stfl.py $(DESTDIR)$(PYTHON_SITEARCH)/
+