Only allow building with xerces-c3 (xerces-c2 is going away)

This commit is contained in:
Baptiste Daroussin 2014-02-24 14:38:24 +00:00
parent 28e31ae8f8
commit 43ba507bc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345854

View file

@ -13,20 +13,9 @@ COMMENT= Apache XML security libraries - C++ version
LICENSE= APACHE20
OPTIONS_DEFINE= XERCES_3
OPTIONS_DEFAULT= XERCES_3
XERCES_3_DESC= With Xerces vesion 3.x (shibboleth2 requires)
USE_OPENSSL= yes
.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
.endif
LIB_DEPENDS+= libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-xerces=${LOCALBASE}