summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-02-10 12:23:49 +0000
committergreen <green@FreeBSD.org>2000-02-10 12:23:49 +0000
commita14983434d1ae312d92d8dbcb008bb19d6dc233a (patch)
treee4ec295317301a9b54cdc488d15d85b15d5cefe4 /security
parentfd45cc45c2874039beaf89add4977e18f8caec5e (diff)
downloadFreeBSD-ports-a14983434d1ae312d92d8dbcb008bb19d6dc233a.zip
FreeBSD-ports-a14983434d1ae312d92d8dbcb008bb19d6dc233a.tar.gz
Tell the user that they're doing something wrong when USA_RESIDENT is
not set.
Diffstat (limited to 'security')
-rw-r--r--security/openssh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index e30e97f..331f98a 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -30,9 +30,13 @@ CVS_DATE_!= ${ECHO} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g'
CVS_SITES= anoncvs@anoncvs1.ca.openbsd.org:/cvs \
:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs
CRYPTOLIBS= -L${PREFIX}/lib -lcrypto
-.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
+.ifdef USA_RESIDENT
+.if ${USA_RESIDENT} == YES
CRYPTOLIBS+= -lRSAglue -lrsaref
.endif
+.else
+.error "USA_RESIDENT must be set to 'YES' or 'NO' correctly!"
+.endif
# Here, MANDIR is concetenated to DESTDIR which all forms the man install dir...
MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man CRYPTOLIBS="${CRYPTOLIBS}"
.if ${OSVERSION} < 400014
OpenPOWER on IntegriCloud