summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-03-23 22:20:47 +0000
committerfrueauf <frueauf>1998-03-23 22:20:47 +0000
commit9c68485add30f1b0812992be30865c754ed181e3 (patch)
tree5299bb8fd431a9b3760fb62b470c106e21d87af7 /security
parentc9c669cfc2ac338a113919ca142ab274c7c0f1ff (diff)
downloadpkgsrc-9c68485add30f1b0812992be30865c754ed181e3.tar.gz
Let `make fetch` from /usr/pkgsrc work even if you are not a USA_RESIDENT.
Diffstat (limited to 'security')
-rw-r--r--security/rsaref/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile
index 566a4480f52..1c85756bab4 100644
--- a/security/rsaref/Makefile
+++ b/security/rsaref/Makefile
@@ -3,7 +3,7 @@
# Date created: 17 Feb 1998
# Whom: tv@netbsd.org
#
-# $NetBSD: Makefile,v 1.3 1998/03/19 12:17:53 frueauf Exp $
+# $NetBSD: Makefile,v 1.4 1998/03/23 22:20:47 frueauf Exp $
#
DISTNAME= rsaref20
@@ -21,14 +21,12 @@ MIRROR_DISTFILE= no
IS_INTERACTIVE= yes
do-fetch:
- @(if [ "X${USA_RESIDENT}" != XYES ]; then \
+ @if [ "X${USA_RESIDENT}" != XYES ]; then \
${ECHO} "This package is legal for use only within the United States."; \
${ECHO} "You must set the variable USA_RESIDENT to YES to enable"; \
${ECHO} "use of the rsaref package."; \
- ${FALSE}; \
- fi)
- @${MKDIR} ${WRKDIR} || ${TRUE}
- @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
+ elif [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
+ ${MKDIR} ${WRKDIR} || ${TRUE}; \
cd ${WRKDIR} && ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${RSA_SITE}README ${FETCH_AFTER_ARGS}; \
cd ${_DISTDIR} && ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${RSA_SITE}`egrep '^dist/U\.S\.-only-' ${WRKDIR}/README`/${DISTNAME}${EXTRACT_SUFX} ${FETCH_AFTER_ARGS}; \
fi