Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 18:47:19 GMT
From:      Gabor Pali <pgj@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172558: [security/apache-xml-security-c] OptionsNG Conversion
Message-ID:  <201210091847.q99IlJep074083@red.freebsd.org>
Resent-Message-ID: <201210092230.q99MUVS1043802@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210091847.q99IlJep074083>