[PATCH] textproc/libxml2: default options incorrectly evaluated

Sean C. Farley scf at FreeBSD.org
Fri Mar 29 19:43:31 UTC 2013


>Submitter-Id:	current-users
>Originator:	Sean C. Farley
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] textproc/libxml2: default options incorrectly evaluated
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.3-STABLE amd64
>Environment:
System: FreeBSD thor.farley.org 8.3-STABLE FreeBSD 8.3-STABLE #0 r243661M: Wed Nov 28 17:27:01 EST
>Description:
The evaluation for the SCHEMA and THREADS options are reversed.  They are
currently disabled if selected.  This breaks the build of devel/py-lxml which
needs the SCHEMA option enabled.

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- libxml2-2.8.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 315556)
+++ Makefile	(working copy)
@@ -47,11 +47,11 @@
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MSCHEMA}
+.if ! ${PORT_OPTIONS:MSCHEMA}
 CONFIGURE_ARGS+=	--without-schemas
 .endif
 
-.if ${PORT_OPTIONS:MTHREADS}
+.if ! ${PORT_OPTIONS:MTHREADS}
 CONFIGURE_ARGS+=	--without-threads
 .endif
 
--- libxml2-2.8.0.patch ends here ---



More information about the freebsd-gnome mailing list