diff options
Diffstat (limited to 'net/pipsecd/files/patch-aa')
-rw-r--r-- | net/pipsecd/files/patch-aa | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/pipsecd/files/patch-aa b/net/pipsecd/files/patch-aa new file mode 100644 index 000000000000..b84f63e1a459 --- /dev/null +++ b/net/pipsecd/files/patch-aa @@ -0,0 +1,26 @@ +--- 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/ |