diff options
author | wiz <wiz@pkgsrc.org> | 2003-05-22 07:30:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-05-22 07:30:14 +0000 |
commit | 075e7d52b286b7c7caae3484e225feb3c6de68ad (patch) | |
tree | c938df9ef09f7ac06cbbeee2bcd2bb53d4bf7254 /security/libcrack/patches | |
parent | b2b7803e3df51923b2e9c9637aee642ad94867b0 (diff) | |
download | pkgsrc-075e7d52b286b7c7caae3484e225feb3c6de68ad.tar.gz |
s/make/${MAKE}/; make Makefiles more portable.
From Jeremy C. Reed in PR 20843.
Diffstat (limited to 'security/libcrack/patches')
-rw-r--r-- | security/libcrack/patches/patch-aa | 28 | ||||
-rw-r--r-- | security/libcrack/patches/patch-ab | 10 |
2 files changed, 30 insertions, 8 deletions
diff --git a/security/libcrack/patches/patch-aa b/security/libcrack/patches/patch-aa index 20db843bda5..7b8af6124ae 100644 --- a/security/libcrack/patches/patch-aa +++ b/security/libcrack/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ +$NetBSD: patch-aa,v 1.2 2003/05/22 07:30:15 wiz Exp $ ---- Makefile.orig Wed Dec 31 11:33:53 1997 -+++ Makefile +--- Makefile.orig Wed Dec 31 02:33:53 1997 ++++ Makefile Tue Mar 25 15:14:02 2003 @@ -9,12 +9,12 @@ ### # set this to the absolute path (less extn) of compressed dict. @@ -17,3 +17,25 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ ### # If you have installed the cracklib-dicts directory, use this +@@ -24,15 +24,15 @@ + @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 $$? ) ++ ( cd cracklib && $(MAKE) && exit $$? ) ++ ( cd util && $(MAKE) DICTPATH=$(DICTPATH) && exit $$? ) ++### ( cd passwd && $(MAKE) DICTPATH=$(DICTPATH) passwd && exit $$? ) + ### touch all + + clean: +- -( cd cracklib && make clean && exit $$? ) +- -( cd util && make clean && exit $$? ) +-### -( cd passwd && make clean && exit $$? ) ++ -( cd cracklib && $(MAKE) clean && exit $$? ) ++ -( cd util && $(MAKE) clean && exit $$? ) ++### -( cd passwd && $(MAKE) clean && exit $$? ) + -rm -f all installed Part* *.BAK *.bak *~ + + install: all diff --git a/security/libcrack/patches/patch-ab b/security/libcrack/patches/patch-ab index 58c3e1f62c9..cf47032cb0e 100644 --- a/security/libcrack/patches/patch-ab +++ b/security/libcrack/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ +$NetBSD: patch-ab,v 1.2 2003/05/22 07:30:15 wiz Exp $ ---- cracklib/Makefile.orig Sun Dec 14 23:49:21 1997 -+++ cracklib/Makefile +--- cracklib/Makefile.orig Sun Dec 14 14:49:21 1997 ++++ cracklib/Makefile Mon Mar 24 19:18:40 2003 @@ -7,12 +7,16 @@ ### @@ -17,10 +17,10 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ +all: ${LIB} + +.c.o: -+ ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} ${.IMPSRC} -c -o ${.TARGET} ++ ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} $< -c -o ${.TARGET} + +${LIB}: ${OBJS} -+ ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 2:7 ++ ${LIBTOOL} --mode=link ${CC} -o ${@:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 2:7 clean: -rm -f $(OBJ) $(LIB) *~ |