pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/cyrus-saslauthd Convert to use krb5.buildlink...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b48bbb30716b
branches:  trunk
changeset: 466624:b48bbb30716b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jan 21 12:40:17 2004 +0000

description:
Convert to use krb5.buildlink3.mk to get Kerberos 5 support.  Tested to
build and install properly using Heimdal.

diffstat:

 security/cyrus-saslauthd/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 7962d12ed775 -r b48bbb30716b security/cyrus-saslauthd/Makefile
--- a/security/cyrus-saslauthd/Makefile Wed Jan 21 12:14:57 2004 +0000
+++ b/security/cyrus-saslauthd/Makefile Wed Jan 21 12:40:17 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/13 09:03:15 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/01/21 12:40:17 jlam Exp $
 
 DISTNAME=      cyrus-sasl-2.1.17
 PKGNAME=       ${DISTNAME:S/sasl/saslauthd/}
@@ -49,10 +49,11 @@
 .endif
 
 .if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
-CONFIGURE_ARGS+=       --enable-gssapi=/usr    # GSSAPI
-.  if exists(/usr/include/krb5/krb5.h)
-CPPFLAGS+=             -I/usr/include/krb5
-.  endif
+.  include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-gssapi=${KRB5BASE}
+CONFIGURE_ARGS+=       --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
+GSSIMPL.heimdal=       heimdal
+GSSIMPL.mit-krb5=      mit
 .endif
 
 USE_PKGINSTALL=                yes



Home | Main Index | Thread Index | Old Index