aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-07 05:55:45 +0800
committerkris <kris@FreeBSD.org>2000-02-07 05:55:45 +0800
commitaf8336affe3b5b07578db68e964c2382af287c52 (patch)
tree691da3ad00af6942e93a97f7a9dd8a40bb30a2b6 /security
parent54fa57406fb713467b25637bf4db110c0fa97e38 (diff)
downloadfreebsd-ports-gnome-af8336affe3b5b07578db68e964c2382af287c52.tar.gz
freebsd-ports-gnome-af8336affe3b5b07578db68e964c2382af287c52.tar.zst
freebsd-ports-gnome-af8336affe3b5b07578db68e964c2382af287c52.zip
USE_OPENSSL, respect CC, LOCALBASE (indirectly via OPENSSLLIB)
Assisted by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'security')
-rw-r--r--security/sslproxy/Makefile8
-rw-r--r--security/sslproxy/files/patch-aa18
2 files changed, 11 insertions, 15 deletions
diff --git a/security/sslproxy/Makefile b/security/sslproxy/Makefile
index 4b0a52a99270..6dee18f9941f 100644
--- a/security/sslproxy/Makefile
+++ b/security/sslproxy/Makefile
@@ -13,13 +13,7 @@ MASTER_SITES= ftp://ftp.obdev.at/pub/Products/sslproxy/
MAINTAINER= alexlh@funk.org
-LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \
- ssl.1:${PORTSDIR}/security/openssl
-
-.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
-MAKE_ENV+= EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
-.endif
+USE_OPENSSL= RSA
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
diff --git a/security/sslproxy/files/patch-aa b/security/sslproxy/files/patch-aa
index 46fa098516a4..15589e8a27a0 100644
--- a/security/sslproxy/files/patch-aa
+++ b/security/sslproxy/files/patch-aa
@@ -1,19 +1,21 @@
---- Makefile.orig Sun Jun 14 15:52:50 1998
-+++ Makefile Sat Jul 31 11:12:56 1999
-@@ -12,13 +12,13 @@
+--- Makefile.orig Sun Jun 14 13:52:50 1998
++++ Makefile Sat Jan 29 16:48:49 2000
+@@ -10,15 +10,13 @@
+
+
# if you use cc, remove the -Wall and -g options
- CC= gcc
+-CC= gcc
++CC?= gcc
-SSLROOT= /usr/local/ssl
-+SSLROOT= /usr/local
-
+-
-CFLAGS= -Wall -I$(SSLROOT)/include -O
-+CFLAGS+= -I$(SSLROOT)/include
++CFLAGS+= -I$(OPENSSLINC)
# for Solaris 2.x add -DSOLARIS2, for SunOS add -DSUNOS and for HP-UX add
# -DHP to the CFLAGS variable
-LIBS = -L$(SSLROOT)/lib -lssl -lcrypto
-+LIBS = -L$(SSLROOT)/lib -lssl -lcrypto $(EXTRA_SSL_LIBS)
++LIBS = -L$(OPENSSLLIB) -lssl -lcrypto $(EXTRA_SSL_LIBS)
OBJ = sslproxy.o