From 1c30911ff0463c1215e15dd9f7acb886ca35a93d Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 14:30:10 +0000 Subject: Rename security/ patches to reflect the files they modify. --- security/sslwrap/files/patch-Makefile | 26 ++++++++++++++++++++++++++ security/sslwrap/files/patch-aa | 26 -------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 security/sslwrap/files/patch-Makefile delete mode 100644 security/sslwrap/files/patch-aa (limited to 'security/sslwrap/files') 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: diff --git a/security/sslwrap/files/patch-aa b/security/sslwrap/files/patch-aa deleted file mode 100644 index ec6ed8ba6ab5..000000000000 --- a/security/sslwrap/files/patch-aa +++ /dev/null @@ -1,26 +0,0 @@ ---- 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: -- cgit v1.2.3