1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/sslwrap/files/patch-aa

27 lines
549 B
Plaintext
Raw Normal View History

--- Makefile.orig Tue Sep 28 05:49:54 1999
+++ Makefile Thu Jan 27 23:09:09 2000
@@ -6,16 +6,19 @@
# Debug/Optimizations
#OPT = -g
-OPT = -O2
+CFLAGS?=-O2
+OPT = ${CFLAGS}
+
+CC?= gcc
# Define
OPENSSL="\"openssl/\""
#OPENSSL=""
all :
- gcc -o sslwrap ${SRC} ${OPT} -DFLAT_INC -DOPENSSL=${OPENSSL} \
- -L/usr/local/ssl/lib -lssl -lcrypto \
- -I/usr/local/ssl/include \
+ ${CC} -o sslwrap ${SRC} ${OPT} -DFLAT_INC -DOPENSSL=${OPENSSL} \
+ -L${OPENSSLLIB} -lssl -lcrypto ${EXTRA_SSL_LIBS} \
+ -I${OPENSSLINC} \
${EXTLIBS}
clean: