ports/172558: [security/apache-xml-security-c] OptionsNG Conversion
Gabor Pali
pgj at FreeBSD.org
Tue Oct 9 22:30:31 UTC 2012
>Number: 172558
>Category: ports
>Synopsis: [security/apache-xml-security-c] OptionsNG Conversion
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 09 22:30:31 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Gabor Pali
>Release: n/a
>Organization:
The FreeBSD Project
>Environment:
n/a
>Description:
- Convert options to OptionsNG format
>How-To-Repeat:
>Fix:
See the attached patch.
Patch attached with submission follows:
diff --git a/security/apache-xml-security-c/Makefile b/security/apache-xml-security-c/Makefile
index 297d7d5..3547a70 100644
--- a/security/apache-xml-security-c/Makefile
+++ b/security/apache-xml-security-c/Makefile
@@ -17,12 +17,16 @@ COMMENT= Apache XML security libraries - C++ version
LICENSE= AL2
-OPTIONS= XERCES_3 "With Xerces vesion 3.x (shibboleth2 requires)" on
+OPTIONS_DEFINE= XERCES_3
+OPTIONS_DEFAULT= XERCES_3
+
+XERCES_3_DESC= With Xerces vesion 3.x (shibboleth2 requires)
USE_OPENSSL= yes
-.include <bsd.port.pre.mk>
-.if defined(WITH_XERCES_3)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MXERCES_3}
LIB_DEPENDS+= xerces-c.3:${PORTSDIR}/textproc/xerces-c3
.else
LIB_DEPENDS+= xerces-c.27:${PORTSDIR}/textproc/xerces-c2
@@ -34,4 +38,5 @@ USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list