summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openssh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index e30e97f81e8e..331f98a309a8 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