From a14983434d1ae312d92d8dbcb008bb19d6dc233a Mon Sep 17 00:00:00 2001 From: green Date: Thu, 10 Feb 2000 12:23:49 +0000 Subject: Tell the user that they're doing something wrong when USA_RESIDENT is not set. --- security/openssh/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'security') 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 -- cgit v1.1