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