svn commit: r416190 - head/www/uwsgi
Dmitry Sivachenko
demon at FreeBSD.org
Tue May 31 10:45:00 UTC 2016
Author: demon
Date: Tue May 31 10:44:59 2016
New Revision: 416190
URL: https://svnweb.freebsd.org/changeset/ports/416190
Log:
Switch xml implementation to libxml2, because it supports embedding pythin
code to CDATA elements (expat doesn't).
Submitted by: Eric Masson <emss at free.fr>
Modified:
head/www/uwsgi/Makefile
Modified: head/www/uwsgi/Makefile
==============================================================================
--- head/www/uwsgi/Makefile Tue May 31 10:28:13 2016 (r416189)
+++ head/www/uwsgi/Makefile Tue May 31 10:44:59 2016 (r416190)
@@ -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
More information about the svn-ports-all
mailing list