diff options
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/Makefile | 11 | ||||
-rw-r--r-- | security/openssh/files/patch-ab | 8 |
2 files changed, 14 insertions, 5 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 34c6e1065c66..b3cef210d607 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -30,7 +30,16 @@ CRYPTOLIBS+= -lRSAglue -lrsaref # Here, MANDIR is concetenated to DESTDIR which all forms the man install dir... MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man CRYPTOLIBS="${CRYPTOLIBS}" .if !exists(/usr/include/tcpd.h) -MAKE_ENV+= TCP_WRAPPERS=NO +MAKE_ENV+= TCP_WRAPPERS=no +.endif +.if defined(AFS) && ${AFS} == YES +MAKE_ENV+= AFS=yes +.endif +.if defined(KERBEROS) && ${KERBEROS} == YES +MAKE_ENV+= KERBEROS=yes +.endif +.if defined(SKEY) && ${SKEY} == YES +MAKE_ENV+= SKEY=yes .endif STAMPFILE= ${DISTDIR}/${PKGNAME}/.stamp WRKSRC= ${WRKDIR}/ssh diff --git a/security/openssh/files/patch-ab b/security/openssh/files/patch-ab index a2a1f00e365b..a65c47f7601c 100644 --- a/security/openssh/files/patch-ab +++ b/security/openssh/files/patch-ab @@ -10,10 +10,10 @@ -LDADD+= -L${.CURDIR}/../lib/${__objdir} -lssh -DPADD+= ${.CURDIR}/../lib/${__objdir}/libssh.a -.else -+AFS?= NO -+KERBEROS?= NO -+SKEY?= NO -+TCP_WRAPPERS?= YES ++AFS?= no ++KERBEROS?= no ++SKEY?= no ++TCP_WRAPPERS?= yes LDADD+= -L${.CURDIR}/../lib -lssh DPADD+= ${.CURDIR}/../lib/libssh.a -.endif |