summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-23 18:37:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-23 18:37:41 +0000
commitd0f82038bc26781e14a647ca125cb551003d5397 (patch)
tree253a586d5493174f2a25606163bce3e26ee4c0ce /textproc
parent- Update to 0.05 (diff)
* Update to 2.6.7
* Use OPTIONS where it's feasible * Use USE_ICONV
Notes
Notes: svn path=/head/; revision=101881
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxml2/Makefile22
-rw-r--r--textproc/libxml2/distinfo4
2 files changed, 14 insertions, 12 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index efd616aa0dc3..31e27b93814f 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libxml2
-PORTVERSION= 2.6.6
+PORTVERSION= 2.6.7
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6
@@ -15,10 +15,9 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Xml parser library for GNOME
-LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
-
USE_BZIP2= yes
USE_GMAKE= yes
+USE_ICONV= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gnometarget pkgconfig
INSTALLS_SHLIB= yes
@@ -31,6 +30,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= xml2-config.1 xmllint.1 xmlcatalog.1
MAN3= libxml.3
+OPTIONS= THREADS "Enable pthread support" off \
+ SCHEMA "Enable XML schema support" on \
+ MEM_DEBUG "Enable memory debugging (DEVELOPERS ONLY!)" off \
+ XMLLINT_HIST "Enable history for xmllint" off \
+ THREAD_ALLOC "Enable per-thread memory (DEVELOPERS ONLY!)" off
+
.if !defined(WITHOUT_PYTHON)
USE_PYTHON= yes
PLIST_SUB+= PYTHON:=""
@@ -41,6 +46,8 @@ PLIST_SUB+= PYTHON:="@comment "
PKGNAMESUFFIX= -nopython
.endif
+.include <bsd.port.pre.mk>
+
.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --with-threads
.else
@@ -65,14 +72,9 @@ CONFIGURE_ARGS+= --with-thread-alloc
pre-everything::
@${ECHO_MSG} ""
- @${ECHO_MSG} "libxml2 has the following tunables:"
+ @${ECHO_MSG} "libxml2 has the following additional tunables:"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off Python support"
- @${ECHO_MSG} " WITH_THREADS=yes Turns on pthread support"
- @${ECHO_MSG} " WITHOUT_SCHEMA=yes Turns off XML Schema support"
- @${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging (DEVELOPERS ONLY!)"
- @${ECHO_MSG} " WITH_XMLLINT_HIST=yes Turns on history for xmllint"
- @${ECHO_MSG} " WITH_THREAD_ALLOC=yes Turns on per-thread memory (DEVELOPERS ONLY!)"
@${ECHO_MSG} ""
post-patch:
@@ -85,4 +87,4 @@ post-install:
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo
index 6fea161ed4b5..ea6c5036dd8c 100644
--- a/textproc/libxml2/distinfo
+++ b/textproc/libxml2/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/libxml2-2.6.6.tar.bz2) = 4aa5c05a92302b50d9a87e7c84527a8e
-SIZE (gnome2/libxml2-2.6.6.tar.bz2) = 2652415
+MD5 (gnome2/libxml2-2.6.7.tar.bz2) = bdbef92cbdc5b4bd0365313ba22b75ce
+SIZE (gnome2/libxml2-2.6.7.tar.bz2) = 2651941