From 5332651023078ae5d361efa129244734efd7f58c Mon Sep 17 00:00:00 2001 From: epg Date: Tue, 31 Jan 2006 04:15:29 +0000 Subject: Instead of disabling gssapi, make it optional. Patch by Mark Davies in PR 32642. --- www/neon/Makefile | 5 +++-- www/neon/options.mk | 13 +++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 www/neon/options.mk (limited to 'www') 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 -- cgit v1.2.3