mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
fa0c40ffbb
PR: 13178 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
27 lines
751 B
Plaintext
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/
|