mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Switch xml implementation to libxml2, because it supports embedding pythin
code to CDATA elements (expat doesn't). Submitted by: Eric Masson <emss@free.fr>
This commit is contained in:
parent
59d152fe98
commit
6e6adb59cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416190
@ -22,7 +22,7 @@ OPTIONS_DEFINE= DEBUG JSON PCRE XML
|
||||
DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug
|
||||
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
|
||||
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
||||
XML_LIB_DEPENDS= libexpat.so:textproc/expat2
|
||||
XML_LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -39,8 +39,7 @@ O_PCRE= false
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MXML}
|
||||
O_XML= expat
|
||||
CFLAGS+= "-I${LOCALBASE}/include"
|
||||
O_XML= libxml2
|
||||
.else
|
||||
O_XML= false
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user