aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-03 10:10:08 +0800
committersteve <steve@FreeBSD.org>1999-05-03 10:10:08 +0800
commitf7890fb7528a45be90126ba05646c4a3f8701a0e (patch)
treeef3ac27a9729c4d2af140a4d462baf60985d0d11
parent3302a515fc6fe666d48072cddf2f0460886dc756 (diff)
downloadfreebsd-ports-gnome-f7890fb7528a45be90126ba05646c4a3f8701a0e.tar.gz
freebsd-ports-gnome-f7890fb7528a45be90126ba05646c4a3f8701a0e.tar.zst
freebsd-ports-gnome-f7890fb7528a45be90126ba05646c4a3f8701a0e.zip
Allow this to build again inside and outside the US.
PR: 11237
-rw-r--r--security/stunnel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 80a483bba6c4..e8a6cd38ac9b 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -3,7 +3,7 @@
# Date created: Mon Jan 11 11:53:54 EET 1999
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
#
-# $Id: Makefile,v 1.2 1999/01/27 21:57:23 billf Exp $
+# $Id: Makefile,v 1.3 1999/03/29 14:54:37 dirk Exp $
#
DISTNAME= stunnel-2.1
@@ -19,7 +19,11 @@ BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl \
${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl
RUN_DEPENDS= openssl:${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
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/stunnel