Add an option to build libxml w/out threads support.
PR: ports/146582 Submitted by: Alexander Kriventsov <avk@vl.ru> Feature safe: yes
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# WITHOUT_SCHEMA disable XML schema support
|
||||
# WITHOUT_THREADS disable threads support
|
||||
# WITH_MEM_DEBUG enable memory debugging (DEVELOPERS ONLY!)
|
||||
# WITH_XMLLINT_HIST enable history for xmllint
|
||||
# WITH_THREAD_ALLOC enable per-thread memory (DEVELOPERS ONLY!)
|
||||
@@ -46,6 +47,10 @@ MAN3= libxml.3
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user