diff options
author | epg <epg> | 2006-01-31 04:15:29 +0000 |
---|---|---|
committer | epg <epg> | 2006-01-31 04:15:29 +0000 |
commit | 5332651023078ae5d361efa129244734efd7f58c (patch) | |
tree | b474726d41268b4a712ee7633b41de8a6708e62e /www/neon | |
parent | 584f88e0e31a1652ee9a795a5aa0bdb301a26687 (diff) | |
download | pkgsrc-5332651023078ae5d361efa129244734efd7f58c.tar.gz |
Instead of disabling gssapi, make it optional. Patch by Mark Davies
<mark@mcs.vuw.ac.nz> in PR 32642.
Diffstat (limited to 'www/neon')
-rw-r--r-- | www/neon/Makefile | 5 | ||||
-rw-r--r-- | www/neon/options.mk | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/www/neon/Makefile b/www/neon/Makefile index b553da54ab7..8d8f37d7090 100644 --- a/www/neon/Makefile +++ b/www/neon/Makefile @@ -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 @@ USE_TOOLS+= pkg-config 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 --git a/www/neon/options.mk b/www/neon/options.mk new file mode 100644 index 00000000000..3bd72db1fad --- /dev/null +++ b/www/neon/options.mk @@ -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 |