Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 15:43:29 -0400 (EDT)
From:      "Sean C. Farley" <scf@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] textproc/libxml2: default options incorrectly evaluated
Message-ID:  <201303291943.r2TJhT85048562@thor.farley.org>

next in thread | raw e-mail | index | archive | help

>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@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 ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303291943.r2TJhT85048562>