diff options
author | epg <epg@pkgsrc.org> | 2006-01-31 04:15:29 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2006-01-31 04:15:29 +0000 |
commit | f1515b530979b0950bf7c4aac3787a37dad369f5 (patch) | |
tree | b474726d41268b4a712ee7633b41de8a6708e62e | |
parent | 9d3a2cfdca22a8c522c9b14c3f9f5f0131f978be (diff) | |
download | pkgsrc-f1515b530979b0950bf7c4aac3787a37dad369f5.tar.gz |
Instead of disabling gssapi, make it optional. Patch by Mark Davies
<mark@mcs.vuw.ac.nz> in PR 32642.
-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 |