pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/cyrus-sasl2 Convert to use krb5.buildlink3.mk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe4164a9cc58
branches:  trunk
changeset: 466622:fe4164a9cc58
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jan 21 12:12:13 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-sasl2/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 961be14e79c3 -r fe4164a9cc58 security/cyrus-sasl2/Makefile
--- a/security/cyrus-sasl2/Makefile     Wed Jan 21 11:24:38 2004 +0000
+++ b/security/cyrus-sasl2/Makefile     Wed Jan 21 12:12:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/01/09 20:35:03 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2004/01/21 12:12:13 jlam Exp $
 
 .include "Makefile.common"
 
@@ -26,12 +26,11 @@
 .endif
 
 .if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
-CONFIGURE_ARGS+=       --enable-gssapi=/usr    # GSSAPI
+BUILDLINK_DEPENDS.heimdal=     heimdal>=0.6
+.  include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-gssapi=${KRB5BASE}     # GSSAPI
+LIBS+=                 -lcrypto
 PLIST_SRC+=            ${PKGDIR}/PLIST.krb5
-.  if exists(/usr/include/krb5/krb5.h)
-CPPFLAGS+=             -I/usr/include/krb5
-.  endif
-LIBS+=                 -lcrypto
 .endif
 
 PLIST_SRC+=            ${PKGDIR}/PLIST.plugins



Home | Main Index | Thread Index | Old Index