Subject: Re: pkg/32642: www/neon tries to use gssapi
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: pkgsrc-bugs
Date: 01/26/2006 22:50:02
The following reply was made to PR pkg/32642; it has been noted by GNATS.
From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/32642: www/neon tries to use gssapi
Date: Fri, 27 Jan 2006 11:49:18 +1300
On Friday 27 January 2006 09:20, collver@peak.org wrote:
> >How-To-Repeat:
> >Fix:
>
> Add a line to the Makefile:
> CONFIGURE_ARGS+= --without-gssapi
Better yet make it optionally build with gssapi support:
Index: Makefile
===================================================================
RCS file: /src/cvs/netbsd/pkgsrc/www/neon/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile 25 Jan 2006 20:14:27 -0000 1.34
+++ Makefile 25 Jan 2006 22:28:37 -0000
@@ -22,6 +22,18 @@
TEST_TARGET= check
+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
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
cheers
mark