diff options
author | Brian Feldman <green@FreeBSD.org> | 2000-02-10 12:23:49 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2000-02-10 12:23:49 +0000 |
commit | 145cf70f67ff53b460129c3517d67ab45630a493 (patch) | |
tree | 569b90ffb3ddff907271a2f0d5c3e3ae8e1a64a0 /security/openssh | |
parent | Upgrade to v1.17. (diff) |
Tell the user that they're doing something wrong when USA_RESIDENT is
not set.
Notes
Notes:
svn path=/head/; revision=25643
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/Makefile | 6 |
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 |