summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-06 06:18:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-06 06:18:29 +0000
commit53aefd5ede039abee58ff6b7afd648a30ec29aaa (patch)
tree4b70c7bc65393de758b2f838d0ec8bd6bcc74b42 /sys-libs
parentBugfix release. Added spell useflag for optional gtkspell support (Manifest r... (diff)
downloadgentoo-2-53aefd5ede039abee58ff6b7afd648a30ec29aaa.tar.gz
gentoo-2-53aefd5ede039abee58ff6b7afd648a30ec29aaa.tar.bz2
gentoo-2-53aefd5ede039abee58ff6b7afd648a30ec29aaa.zip
ppc stable and add cross-compile fixes
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/cracklib-2.7-r10.ebuild7
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff3
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-static-lib.patch4
3 files changed, 6 insertions, 8 deletions
diff --git a/sys-libs/cracklib/cracklib-2.7-r10.ebuild b/sys-libs/cracklib/cracklib-2.7-r10.ebuild
index db92c7765586..e6b8c47b80de 100644
--- a/sys-libs/cracklib/cracklib-2.7-r10.ebuild
+++ b/sys-libs/cracklib/cracklib-2.7-r10.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.7-r10.ebuild,v 1.7 2004/11/12 21:07:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.7-r10.ebuild,v 1.8 2004/12/06 06:18:29 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
MY_P=${P/-/,}
DESCRIPTION="Password Checking Library"
@@ -11,7 +11,7 @@ SRC_URI="http://www.crypticide.org/users/alecm/security/${MY_P}.tar.gz"
LICENSE="CRACKLIB"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ~ppc ~ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE="pam uclibc"
RDEPEND="sys-apps/miscfiles
@@ -47,6 +47,7 @@ src_unpack() {
}
src_compile() {
+ tc-export CC LD AR
emake all || die "emake failed"
}
diff --git a/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff b/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff
index 64d5d190b7b2..b296b5ce48fa 100644
--- a/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff
+++ b/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff
@@ -39,7 +39,7 @@ diff -N -r -U3 cracklib,2.7.orig/Makefile cracklib,2.7/Makefile
diff -N -r -U3 cracklib,2.7.orig/cracklib/Makefile cracklib,2.7/cracklib/Makefile
--- cracklib,2.7.orig/cracklib/Makefile Sun Dec 14 23:49:21 1997
+++ cracklib,2.7/cracklib/Makefile Tue Feb 27 16:03:39 2001
-@@ -6,13 +6,21 @@
+@@ -6,13 +6,20 @@
# and upwards.
###
@@ -49,7 +49,6 @@ diff -N -r -U3 cracklib,2.7.orig/cracklib/Makefile cracklib,2.7/cracklib/Makefil
+LIB = libcrack.so
+OBJ = fascist.o packlib.o rules.o stringlib.o
+CFLAGS += -g -I../cracklib -DIN_CRACKLIB -fPIC
-+LD = ld
-$(LIB): $(OBJ)
- ar rv $(LIB) $?
diff --git a/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch b/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch
index 6ee6a7677167..d693029154e9 100644
--- a/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch
+++ b/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch
@@ -1,6 +1,6 @@
--- cracklib-2.7/cracklib/Makefile 2003-11-09 23:01:29.405532640 +0200
+++ cracklib-2.7.static/cracklib/Makefile 2003-11-09 23:17:57.983245984 +0200
-@@ -6,21 +6,28 @@
+@@ -6,20 +6,26 @@
# and upwards.
###
@@ -8,8 +8,6 @@
+LIB = libcrack
OBJ = fascist.o packlib.o rules.o stringlib.o
CFLAGS += -g -I../cracklib -DIN_CRACKLIB -fPIC
- LD = ld
-+AR = ar
-$(LIB): $(OBJ) Makefile
- $(LD) -shared -soname $(LIB).$(MAJOR) -o $(LIB).$(VERSION) $(OBJ) -lc