1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Disable thread support by default. This was interfering with ports

such as mod_php4 with DOMXML support.  It also has the potential of
affecting other ports on -STABLE that rely on libxml2 to build shared
libraries.  I have filed a bug with the libxml2 developers to see if we
can rectify this situation moving forward.  More details can be found at:

http://bugzilla.gnome.org/show_bug.cgi?id=112144
This commit is contained in:
Joe Marcus Clarke 2003-05-03 06:32:09 +00:00
parent 0b002fc00d
commit e012abb3d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80038

View File

@ -7,6 +7,7 @@
PORTNAME= libxml2
PORTVERSION= 2.5.7
PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5
@ -22,7 +23,7 @@ RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_BZIP2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_GNOME= gnomehack
USE_GNOME= gnomehack gnometarget
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \
@ -42,7 +43,9 @@ PLIST_SUB+= PYTHON:="@comment "
PKGNAMESUFFIX= -nopython
.endif
.if defined(LIBXML_WITHOUT_THREADS)
.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --with-threads
.else
CONFIGURE_ARGS+= --without-threads
.endif
@ -67,7 +70,7 @@ pre-everything::
@${ECHO_MSG} "libxml2 has the following tunables:"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off Python support"
@${ECHO_MSG} " LIBXML_WITHOUT_THREADS=yes Turns off pthread support"
@${ECHO_MSG} " WITHOUT_THREADS=yes Turns off pthread support"
@${ECHO_MSG} " WITH_SCHEMA=yes Turns on XML Schema support"
@${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging"
@${ECHO_MSG} " WITH_XMLLINT_HIST=yes Turns on history for xmllint"