mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
bf72dae424
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com> PR: ports/14885
32 lines
866 B
Plaintext
32 lines
866 B
Plaintext
--- Makefile.orig Thu Sep 16 17:44:50 1999
|
|
+++ Makefile Thu Oct 14 10:27:50 1999
|
|
@@ -6,10 +6,13 @@
|
|
CLEANFILES= *.core *.o pipsecd
|
|
|
|
# Where your OpenSSL includes are located
|
|
-INCDIR=/usr/local/ssl/include
|
|
+INCDIR=-I$(PREFIX)/include/openssl -I$(PREFIX)/include
|
|
|
|
# Where your libcrypto is located
|
|
-LIBDIR=/usr/local/ssl/lib
|
|
+LIBDIR=-L$(PREFIX)/lib
|
|
+
|
|
+# Misc defines
|
|
+DEFINES=-DFILE_PREFIX=\"$(PREFIX)\"
|
|
|
|
# Optional: use FreeBSD's libmd
|
|
#OPTLIB += -lmd
|
|
@@ -19,10 +22,10 @@
|
|
#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)
|
|
|
|
install: pipsecd
|
|
- install pipsecd /usr/local/sbin/
|
|
+ install pipsecd $(PREFIX)/sbin/
|
|
|
|
tar:
|
|
tar cfvz tunip.tar.gz $(DISTFILES)
|