summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/ChangeLog7
-rw-r--r--sys-libs/cracklib/cracklib-2.8.16.ebuild3
-rw-r--r--sys-libs/cracklib/files/cracklib-2.8.16-python.patch13
3 files changed, 21 insertions, 2 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog
index a1a252181d62..fbfc886eec6e 100644
--- a/sys-libs/cracklib/ChangeLog
+++ b/sys-libs/cracklib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/cracklib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.152 2010/07/23 09:46:59 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.153 2010/07/23 16:49:58 arfrever Exp $
+
+ 23 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ cracklib-2.8.16.ebuild, +files/cracklib-2.8.16-python.patch:
+ Fix building of Python bindings when cracklib isn't already installed.
+ Approved by Chainsaw.
23 Jul 2010; Peter Volkov <pva@gentoo.org> cracklib-2.8.16.ebuild:
amd64 stable, bug 329149
diff --git a/sys-libs/cracklib/cracklib-2.8.16.ebuild b/sys-libs/cracklib/cracklib-2.8.16.ebuild
index 53f6be76fa49..574591dd1326 100644
--- a/sys-libs/cracklib/cracklib-2.8.16.ebuild
+++ b/sys-libs/cracklib/cracklib-2.8.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.16.ebuild,v 1.9 2010/07/23 09:46:59 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.16.ebuild,v 1.10 2010/07/23 16:49:58 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="python? 2"
@@ -45,6 +45,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.8.15-no-nls.patch
+ epatch "${FILESDIR}"/${P}-python.patch
elibtoolize #269003
use python && do_python
}
diff --git a/sys-libs/cracklib/files/cracklib-2.8.16-python.patch b/sys-libs/cracklib/files/cracklib-2.8.16-python.patch
new file mode 100644
index 000000000000..05b3cd211a53
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.8.16-python.patch
@@ -0,0 +1,13 @@
+--- python/setup.py.in
++++ python/setup.py.in
+@@ -24,7 +24,9 @@
+ extensions = [
+ Extension("_cracklibmodule",
+ ["_cracklibmodule.c"],
+- libraries = ["crack"]),
++ include_dirs = ["../lib"],
++ libraries = ["crack"],
++ library_dirs = ["../lib/.libs"]),
+ ]
+
+ setup(