diff options
Diffstat (limited to 'sysutils/pwgen/files/patch-aa')
-rw-r--r-- | sysutils/pwgen/files/patch-aa | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/pwgen/files/patch-aa b/sysutils/pwgen/files/patch-aa index 6c2cdcbb438c..25108e8189e2 100644 --- a/sysutils/pwgen/files/patch-aa +++ b/sysutils/pwgen/files/patch-aa @@ -1,6 +1,6 @@ --- Makefile.orig Tue Jan 4 22:54:58 2000 -+++ Makefile Sat Aug 12 00:49:23 2000 -@@ -6,17 +6,18 @@ ++++ Makefile Sun Jul 6 20:15:32 2003 +@@ -6,17 +6,17 @@ OPTS = -DALLBYOPTS -DRAND48 -DDEBIAN # Standard items @@ -8,12 +8,10 @@ -CFLAGS = -O3 -LD = cc -#LDFLAGS = -g --LIBS = -lm +CC ?= gcc -+CFLAGS += -I${LOCALBASE}/include ++CFLAGS += ${CPPFLAGS} +LD = ${CC} -+LDFLAGS = -L${LOCALBASE}/lib -+LIBS = -lm -lgnugetopt + LIBS = -lm INSTALL = install -s INFLAGS = @@ -26,7 +24,7 @@ # End configuration section -@@ -27,10 +28,8 @@ +@@ -27,10 +27,8 @@ ./pwgen 8 20 install: all |