summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/libbtctl/files/libbtctl-0.6.0-libdir.patch')
-rw-r--r--net-wireless/libbtctl/files/libbtctl-0.6.0-libdir.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/net-wireless/libbtctl/files/libbtctl-0.6.0-libdir.patch b/net-wireless/libbtctl/files/libbtctl-0.6.0-libdir.patch
index 78cbfbc42b18..1ff097842f52 100644
--- a/net-wireless/libbtctl/files/libbtctl-0.6.0-libdir.patch
+++ b/net-wireless/libbtctl/files/libbtctl-0.6.0-libdir.patch
@@ -1,12 +1,11 @@
-diff -Nru libbtctl-0.6.0.orig/src/Makefile.in libbtctl-0.6.0/src/Makefile.in
---- libbtctl-0.6.0.orig/src/Makefile.in 2005-11-22 00:02:52.000000000 +0200
-+++ libbtctl-0.6.0/src/Makefile.in 2006-04-22 12:11:12.586318250 +0300
-@@ -239,7 +239,7 @@
- btctl.defs btctl.override
-
+--- src/Makefile.am 2005-08-16 21:18:14.000000000 +0200
++++ src/Makefile.am 2006-08-29 14:45:51.000000000 +0200
+@@ -16,7 +16,7 @@
+
lib_LTLIBRARIES = libbtctl.la
--@HAVE_PYTHON_TRUE@pydir = $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)/site-packages/
-+@HAVE_PYTHON_TRUE@pydir = $(libdir)/python$(PYTHON_VERSION)/site-packages/
- @HAVE_PYTHON_FALSE@pydir =
- @HAVE_PYTHON_TRUE@py_LTLIBRARIES = btctl.la
- @HAVE_PYTHON_FALSE@py_LTLIBRARIES =
+ if HAVE_PYTHON
+-pydir = $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)/site-packages/
++pydir = $(PYTHON_PREFIX)/$(libdir)/python$(PYTHON_VERSION)/site-packages/
+ py_LTLIBRARIES = btctl.la
+ else
+ pydir =