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:   ports/177483: [PATCH] textproc/libxml2: default options incorrectly evaluated
Message-ID:  <201303291943.r2TJhT85048562@thor.farley.org>
Resent-Message-ID: <201303291950.r2TJo0Yv025559@freefall.freebsd.org>

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

>Number:         177483
>Category:       ports
>Synopsis:       [PATCH] textproc/libxml2: default options incorrectly evaluated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 29 19:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sean C. Farley
>Release:        FreeBSD 8.3-STABLE amd64
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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