aboutsummaryrefslogtreecommitdiff
path: root/net/pipsecd/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/pipsecd/files/patch-aa')
-rw-r--r--net/pipsecd/files/patch-aa17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/pipsecd/files/patch-aa b/net/pipsecd/files/patch-aa
index ce57cc312113..22df5536ce6f 100644
--- a/net/pipsecd/files/patch-aa
+++ b/net/pipsecd/files/patch-aa
@@ -1,27 +1,30 @@
--- Makefile.orig Thu Sep 16 17:44:50 1999
-+++ Makefile Thu Oct 14 10:27:50 1999
-@@ -6,10 +6,13 @@
++++ Makefile Fri Feb 4 15:14:18 2000
+@@ -6,23 +6,26 @@
CLEANFILES= *.core *.o pipsecd
# Where your OpenSSL includes are located
-INCDIR=/usr/local/ssl/include
-+INCDIR=-I$(PREFIX)/include/openssl -I$(PREFIX)/include
++INCDIR=-I$(OPENSSLINC) -I$(OPENSSLINC)/openssl -I$(LOCALBASE)/include
# Where your libcrypto is located
-LIBDIR=/usr/local/ssl/lib
-+LIBDIR=-L$(PREFIX)/lib
++LIBDIR=-L$(OPENSSLLIB)
+
+# Misc defines
+DEFINES=-DFILE_PREFIX=\"$(PREFIX)\"
# Optional: use FreeBSD's libmd
- #OPTLIB += -lmd
-@@ -19,10 +22,10 @@
+-#OPTLIB += -lmd
++OPTLIB += -lmd
+ #OPTDEF += -DUSE_SYSTEM_HASH
+
+ # Optional: use ethertap device under Linux instead of userlink
#OPTDEF += -DUSE_ETHERTAP
pipsecd: tunip.c defs.h
- gcc -Wall -I$(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c -L$(LIBDIR) $(OPTLIB) -lcrypto
-+ gcc -Wall $(INCDIR) -g $(OPTDEF) -o pipsecd tunip.c $(LIBDIR) $(OPTLIB) -lcrypto -lRSAglue -lrsaref $(DEFINES)
++ $(CC) -Wall $(INCDIR) -g $(CFLAGS) $(OPENSSL_CFLAGS) $(OPTDEF) -o pipsecd tunip.c $(LIBDIR) -lcrypto $(OPTLIB) $(EXTRA_SSL_LIBS) $(DEFINES)
install: pipsecd
- install pipsecd /usr/local/sbin/