summaryrefslogtreecommitdiff
path: root/security/pgp2
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-03-26 10:48:32 +0000
committeragc <agc@pkgsrc.org>1998-03-26 10:48:32 +0000
commit79ac1165f9eaa384338584620cbcfd8dcdf14db5 (patch)
treeb4dab18ea0c08cf8bf8b14f869922d079b025033 /security/pgp2
parent470ca9d38b262d4f091cd170646105be14870f95 (diff)
downloadpkgsrc-79ac1165f9eaa384338584620cbcfd8dcdf14db5.tar.gz
The end of the world as we know it.
Add lines to include MAKECONF, if defined and exists, or /etc/mk.conf, if it exists, before the first reference to USE_RSAREF2. This means that the value for USE_RSAREF2 can be set in $MAKECONF or /etc/mk.conf as well as the environment.
Diffstat (limited to 'security/pgp2')
-rw-r--r--security/pgp2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/pgp2/Makefile b/security/pgp2/Makefile
index b97c9124b9e..f388a47ed05 100644
--- a/security/pgp2/Makefile
+++ b/security/pgp2/Makefile
@@ -3,7 +3,7 @@
# Date created: 8 Jul 1995 (ache@FreeBSD.ORG)
# Whom: tv@NetBSD.ORG
#
-# $NetBSD: Makefile,v 1.3 1998/03/19 12:10:42 frueauf Exp $
+# $NetBSD: Makefile,v 1.4 1998/03/26 10:48:32 agc Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp
#
@@ -16,6 +16,12 @@ MASTER_SITES= ftp://ftp.ifi.uio.no/pub/pgp/2.x/src/ \
MAINTAINER= packages@NetBSD.ORG
+.if defined(MAKECONF) && exists(${MAKECONF})
+.include "${MAKECONF}"
+.elif exists(/etc/mk.conf)
+.include "/etc/mk.conf"
+.endif
+
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
PKGNAME= pgp-2.6.3a
LIB_DEPENDS+= rsaref.2.:${PORTSDIR}/security/rsaref