Add option LIBXSLT, off by default, to control the use of libxslt (which
is only used by msxml3.dll right now). PR: 119155
This commit is contained in:
parent
465726c275
commit
c708d5b490
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225197
2 changed files with 18 additions and 2 deletions
|
@ -43,7 +43,8 @@ SUB_FILES= pkg-message
|
|||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \
|
||||
HAL "Use HAL (Hardware Abstraction Layer)" Off
|
||||
HAL "Use HAL (Hardware Abstraction Layer)" Off \
|
||||
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -61,6 +62,13 @@ LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
|||
CONFIGURE_ARGS+= --without-hal
|
||||
.endif
|
||||
|
||||
.ifdef WITH_LIBXSLT
|
||||
CONFIGURE_ARGS+= --with-xslt
|
||||
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-xslt
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 602000
|
||||
IGNORE= fails to properly work on versions of FreeBSD before 6.2 (due to problems with threading support)
|
||||
.endif
|
||||
|
|
|
@ -43,7 +43,8 @@ SUB_FILES= pkg-message
|
|||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \
|
||||
HAL "Use HAL (Hardware Abstraction Layer)" Off
|
||||
HAL "Use HAL (Hardware Abstraction Layer)" Off \
|
||||
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -61,6 +62,13 @@ LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
|||
CONFIGURE_ARGS+= --without-hal
|
||||
.endif
|
||||
|
||||
.ifdef WITH_LIBXSLT
|
||||
CONFIGURE_ARGS+= --with-xslt
|
||||
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-xslt
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 602000
|
||||
IGNORE= fails to properly work on versions of FreeBSD before 6.2 (due to problems with threading support)
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue