diff options
author | markd <markd> | 2004-04-27 12:21:49 +0000 |
---|---|---|
committer | markd <markd> | 2004-04-27 12:21:49 +0000 |
commit | f657a200a4f3f3e8044410e6aa82d94d59af96a6 (patch) | |
tree | 6532f0c4684a50717075200a326e845db36a1cd5 /security | |
parent | 579f9e1fdc26703a2fc6cc8bfd7400ba43eb95b3 (diff) | |
download | pkgsrc-f657a200a4f3f3e8044410e6aa82d94d59af96a6.tar.gz |
Use krb5.buildlink3.mk to find krb5 locations.
Diffstat (limited to 'security')
-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 |