summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-16 18:30:33 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-16 18:30:33 +0000
commite5bded0f1c5205e4939ddb74529d26ff81dd9e8d (patch)
treee875cc94a804d59fe0d6bc5eb06c4e1136eade91 /sys-libs/cracklib/files
parentlibsidplay: fix gcc43 and repoman/qa-fixes (diff)
downloadgentoo-2-e5bded0f1c5205e4939ddb74529d26ff81dd9e8d.tar.gz
gentoo-2-e5bded0f1c5205e4939ddb74529d26ff81dd9e8d.tar.bz2
gentoo-2-e5bded0f1c5205e4939ddb74529d26ff81dd9e8d.zip
Link python module against python #246747 by Robert Wohlrab.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.4 x86_64)
Diffstat (limited to 'sys-libs/cracklib/files')
-rw-r--r--sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch b/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch
new file mode 100644
index 000000000000..568d08130263
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/246747
+
+--- cracklib/python/Makefile.in
++++ cracklib/python/Makefile.in
+@@ -57,7 +57,7 @@
+ am__installdirs = "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(pythondir)"
+ pyexecLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(pyexec_LTLIBRARIES)
+-_cracklibmodule_la_LIBADD =
++_cracklibmodule_la_LIBADD = -lpython$(PYTHON_VERSION)
+ _cracklibmodule_la_SOURCES = _cracklibmodule.c
+ _cracklibmodule_la_OBJECTS = _cracklibmodule.lo
+ _cracklibmodule_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \