1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/net/pipsecd/files/patch-aa
Matthew Hunt fa0c40ffbb Import pipsecd, a tool for making IPsec tunnels.
PR:		13178
Submitted by:	Patrick Bihan-Faou <patrick@mindstep.com>
1999-08-16 22:14:42 +00:00

27 lines
751 B
Plaintext

--- Makefile.orig Mon Aug 16 11:51:13 1999
+++ Makefile Mon Aug 16 12:28:08 1999
@@ -6,17 +6,20 @@
CLEANFILES= *.core *.o pipsecd
# Where your OpenSSL includes are located
-INCDIR=/usr/local/ssl/include
+INCDIR=-I$(PREFIX)/include -I$(PREFIX)/include/openssl
# Where your libcrypto is located
-LIBDIR=/usr/local/ssl/lib
+LIBDIR=-L$(PREFIX)/lib
+
+# Misc Defines
+DEFINES=-DFILE_PREFIX=\"$(PREFIX)\"
# Optional (to use FreeBSD's libmd)
#OPTLIB= -lmd
#OPTDEF= -DUSE_SYSTEM_HASH
pipsecd: tunip.c defs.h
- gcc -Wall -I$(INCDIR) -g -o $(OPTDEF) pipsecd tunip.c -L$(LIBDIR) $(OPTLIB) -lcrypto
+ gcc -Wall $(INCDIR) -g -o $(OPTDEF) pipsecd tunip.c $(LIBDIR) $(OPTLIB) -lcrypto $(DEFINES)
install: pipsecd
install pipsecd /usr/local/sbin/