summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-07 09:46:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-07 09:46:11 +0000
commita6933a45d80bcb94d8fed6da0c2fcf4f2431146d (patch)
treed1afbba4dd202d0c494a99b05618edc6a058fb21 /sys-libs/cracklib/files
parentnew upstream release (Manifest recommit) (diff)
downloadgentoo-2-a6933a45d80bcb94d8fed6da0c2fcf4f2431146d.tar.gz
gentoo-2-a6933a45d80bcb94d8fed6da0c2fcf4f2431146d.tar.bz2
gentoo-2-a6933a45d80bcb94d8fed6da0c2fcf4f2431146d.zip
make it so parallel make works; tidy
Diffstat (limited to 'sys-libs/cracklib/files')
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch b/sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch
new file mode 100644
index 000000000000..42c0f3592a9e
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch
@@ -0,0 +1,30 @@
+--- Makefile.orig 2004-12-07 01:17:53.000000000 -0800
++++ Makefile 2004-12-07 01:34:09.000000000 -0800
+@@ -31,21 +31,17 @@
+ @echo "you evidently don't know what you're doing. go read the README"
+
+ all:
+- ( cd cracklib && make && exit $$? )
+- ( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
+-### ( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
+-### touch all
++ $(MAKE) -C cracklib
++ $(MAKE) DICTPATH=$(DICTPATH) -C util
+
+ clean:
+- -( cd cracklib && make clean && exit $$? )
+- -( cd util && make clean && exit $$? )
+-### -( cd passwd && make clean && exit $$? )
++ $(MAKE) -C cracklib clean
++ $(MAKE) -C util clean
+ -rm -f all installed Part* *.BAK *.bak *~
+
+ install: all
+- ( cd cracklib && make install && exit $$? )
+- ( cd util && make install && exit $$? )
++ $(MAKE) -C cracklib install
++ $(MAKE) -C util install
+ @echo 'if "sort" dies from lack of space, see "util/mkdict"'
+ util/mkdict $(SRCDICTS) | LD_LIBRARY_PATH=cracklib util/packer $(DESTDIR)$(DICTPATH)
+ touch installed
+-### @echo 'now go install passwd/passwd where you want it'