pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49611: www/serf GSSAPI support should be optional
>Number: 49611
>Category: pkg
>Synopsis: www/serf GSSAPI support should be optional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 27 17:50:00 +0000 2015
>Originator: Edgar Fuß
>Release: pkgsrc-2014Q4
>Organization:
Mathematisches Institut der Universität Bonn
>Description:
www/serf has GSSAPI support enabled unconditionally.
This should be optional based on the pkgrsc gssapi option
>How-To-Repeat:
code inspection
>Fix:
Patch Makefile and add options.mk:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/serf/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile 27 Oct 2014 08:38:02 -0000 1.32
+++ Makefile 27 Jan 2015 17:43:02 -0000
@@ -18,9 +18,10 @@
SCONS_ARGS+= CFLAGS=${CFLAGS:Q}
SCONS_ARGS+= LDFLAGS=${LDFLAGS:Q}
SCONS_ARGS+= OPENSSL=${PREFIX}/lib
-SCONS_ARGS+= GSSAPI=${KRB5_CONFIG:Q}
SCONS_ARGS+= --install-sandbox=${DESTDIR}
+.include "options.mk"
+
CFLAGS.SunOS+= -D__EXTENSIONS__
do-build:
@@ -32,6 +33,5 @@
.include "../../devel/apr/buildlink3.mk"
.include "../../devel/apr-util/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/krb5.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
options.mk:
# $NetBSD: options.mk $
PKG_OPTIONS_VAR= PKG_OPTIONS.serf
PKG_SUPPORTED_OPTIONS= gssapi
PKG_SUGGESTED_OPTIONS= gssapi
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgssapi)
.include "../../mk/krb5.buildlink3.mk"
SCONS_ARGS+= GSSAPI=${KRB5_CONFIG:Q}
.endif
Home |
Main Index |
Thread Index |
Old Index