diff options
author | markd <markd@pkgsrc.org> | 2004-04-27 12:21:49 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-04-27 12:21:49 +0000 |
commit | 67934dc5293c190db4b109bfe06f554b994424e0 (patch) | |
tree | 6532f0c4684a50717075200a326e845db36a1cd5 | |
parent | 48a9104639432def471f4cd42209054ad215aafc (diff) | |
download | pkgsrc-67934dc5293c190db4b109bfe06f554b994424e0.tar.gz |
Use krb5.buildlink3.mk to find krb5 locations.
-rw-r--r-- | security/openssh/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 1e5a5bf1a97..2b9f738c18f 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.126 2004/04/25 23:36:52 wiz Exp $ +# $NetBSD: Makefile,v 1.127 2004/04/27 12:21:49 markd Exp $ DISTNAME= openssh-3.8p1 PKGNAME= openssh-3.8.1 @@ -28,7 +28,7 @@ CRYPTO= yes # retain the following line, for IPv6-ready pkgsrc webpage BUILD_DEFS+= USE_INET6 -#BUILD_DEFS+= KERBEROS +BUILD_DEFS+= KERBEROS .include "../../mk/bsd.prefs.mk" @@ -89,12 +89,14 @@ CONFIGURE_ARGS+= --without-skey .if defined(KERBEROS) PKG_USE_KERBEROS= yes +.include "../../mk/krb5.buildlink3.mk" +CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE} +CPPFLAGS+= -I${KRB5BASE}/include/krb5 +.if ${OPSYS} != "SunOS" CONFIGURE_ARGS+= --with-kerberos4=/usr -CONFIGURE_ARGS+= --with-kerberos5=/usr -CPPFLAGS+= -I/usr/include/krb5 CPPFLAGS+= -I/usr/include/kerberosIV # kerberos 5 dependencies are detected correctly. -LDFLAGS+= -lkrb -lcom_err -lroken -ldes +LDFLAGS+= -lkrb -lcom_err -lroken -ldes -lcrypto .endif # The ssh-askpass program is in ${X11BASE}/bin or ${X11PREFIX}/bin depending |