summaryrefslogtreecommitdiff
path: root/security/apg/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--security/apg/files/patch-aa44
1 files changed, 25 insertions, 19 deletions
diff --git a/security/apg/files/patch-aa b/security/apg/files/patch-aa
index 2d1bcbb54e33..303b4ddcd1b4 100644
--- a/security/apg/files/patch-aa
+++ b/security/apg/files/patch-aa
@@ -1,38 +1,44 @@
---- Makefile Tue Feb 27 08:24:14 2001
-+++ Makefile Mon Apr 9 14:05:45 2001
-@@ -1,10 +1,10 @@
+--- Makefile 21 May 2002 10:01:23 -0000 1.1.1.3
++++ Makefile 21 May 2002 10:07:25 -0000 1.5
+@@ -1,12 +1,12 @@
+ ##################################################################
# You can modify CC variable if you have compiler other than GCC
# But the code was designed and tested with GCC
-CC = gcc
-+CC?= gcc
++CC ?= gcc
- # compilation flags
+ ##################################################################
+ # Compilation flags
# You should comment the line below for AIX+native cc
-FLAGS = -Wall
-+CFLAGS?= -Wall
-
- # libraries
- LIBS = -lcrypt
-@@ -15,7 +15,8 @@
- CRYPTED_PASS = APG_USE_CRYPT
++CFLAGS ?= -Wall
+ ##################################################################
+ # Libraries
+@@ -37,7 +37,8 @@
+ ##################################################################
+ # Directories
# Install dirs
-INSTALL_PREFIX = /usr/local
-+PREFIX?= /usr/local
++PREFIX ?= /usr/local
+INSTALL_PREFIX = ${PREFIX}
APG_BIN_DIR = /bin
APG_MAN_DIR = /man/man1
APGD_BIN_DIR = /sbin
-@@ -50,10 +51,10 @@
+@@ -88,13 +89,13 @@
cygwin: standalone
- cliserv: ${SOURCES} ${HEADERS}
-- ${CC} ${FLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
-+ ${CC} ${CFLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
+ apg:
+- ${CC} ${FLAGS} ${LIBS} ${LIBM} -D${CRYPTED_PASS} -D${USE_SHA} -o ${PROGNAME} ${SOURCES}
++ ${CC} ${CFLAGS} ${LIBS} ${LIBM} -D${CRYPTED_PASS} -D${USE_SHA} -o ${PROGNAME} ${SOURCES}
+
+ apgd:
+- ${CC} ${FLAGS} ${CS_LIBS} ${LIBM} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES}
++ ${CC} ${CFLAGS} ${CS_LIBS} ${LIBM} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES}
- standalone: ${SOURCES} ${HEADERS}
-- ${CC} ${FLAGS} ${LIBS} -D${CRYPTED_PASS} -o ${PROGNAME} ${SOURCES}
-+ ${CC} ${CFLAGS} ${LIBS} -D${CRYPTED_PASS} -o ${PROGNAME} ${SOURCES}
+ apgbfm:
+- ${CC} ${FLAGS} ${LIBM} -o ${BFM_PROGNAME} ${BFM_SOURCES}
++ ${CC} ${CFLAGS} ${LIBM} -o ${BFM_PROGNAME} ${BFM_SOURCES}
strip:
strip ${PROGNAME}