pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/neon Instead of disabling gssapi, make it optional...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d8b11302930
branches:  trunk
changeset: 507337:9d8b11302930
user:      epg <epg%pkgsrc.org@localhost>
date:      Tue Jan 31 04:15:29 2006 +0000

description:
Instead of disabling gssapi, make it optional.  Patch by Mark Davies
<mark%mcs.vuw.ac.nz@localhost> in PR 32642.

diffstat:

 www/neon/Makefile   |   5 +++--
 www/neon/options.mk |  13 +++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r cb6cb5231384 -r 9d8b11302930 www/neon/Makefile
--- a/www/neon/Makefile Tue Jan 31 04:15:13 2006 +0000
+++ b/www/neon/Makefile Tue Jan 31 04:15:29 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2006/01/30 23:20:31 epg Exp $
+# $NetBSD: Makefile,v 1.36 2006/01/31 04:15:29 epg Exp $
 
 DISTNAME=              neon-0.25.5
 PKGREVISION=           1
@@ -16,13 +16,14 @@
 PKGCONFIG_OVERRIDE=    neon.pc.in
 
 GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --without-gssapi
 CONFIGURE_ARGS+=       --with-ssl=yes
 CONFIGURE_ARGS+=       --with-expat
 CONFIGURE_ARGS+=       --enable-shared
 
 TEST_TARGET=           check
 
+.include "options.mk"
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
diff -r cb6cb5231384 -r 9d8b11302930 www/neon/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/neon/options.mk       Tue Jan 31 04:15:29 2006 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2006/01/31 04:15:29 epg Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.neon
+PKG_SUPPORTED_OPTIONS= gssapi
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+CONFIGURE_ARGS+=       --with-gssapi
+.  include "../../mk/krb5.buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-gssapi
+.endif



Home | Main Index | Thread Index | Old Index