ports/146582: [PATCH]textproc/libxml2: add option to build without threads

Alexander Kriventsov avk at vl.ru
Fri May 14 14:30:06 UTC 2010


>Number:         146582
>Category:       ports
>Synopsis:       [PATCH]textproc/libxml2: add option to build without threads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 14 14:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Kriventsov
>Release:        8.0-RELEASE
>Organization:
hosting community
>Environment:
FreeBSD sshgate.akriventsov.infra.hc.ru 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Add option to build libxml without threads
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2010-05-14 18:05:45.000000000 +0400
+++ Makefile	2010-05-14 18:09:40.000000000 +0400
@@ -12,7 +12,7 @@
 
 PORTNAME=	libxml2
 PORTVERSION=	2.7.7
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	textproc gnome
 MASTER_SITES=	ftp://fr.rpmfind.net/pub/libxml/ \
 		ftp://gd.tuwien.ac.at/pub/libxml/ \
@@ -46,6 +46,10 @@
 CONFIGURE_ARGS+=	--without-schemas
 .endif
 
+.if defined(WITHOUT_THREADS)
+CONFIGURE_ARGS+=	--without-threads 
+.endif
+
 .if defined(WITH_MEM_DEBUG)
 CONFIGURE_ARGS+=	--with-mem-debug
 .endif


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



More information about the freebsd-ports-bugs mailing list