diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-07-11 07:42:53 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-07-11 07:42:53 +0000 |
commit | c682a741556208c544377f170a0384f0d8ba2851 (patch) | |
tree | e1fe27306627e6e40e8ffb8f313adb91dd6aef28 /textproc/libxml2 | |
parent | 88e9c8725dcee7f2d63c0669df3b749400f989bc (diff) | |
download | FreeBSD-ports-c682a741556208c544377f170a0384f0d8ba2851.zip FreeBSD-ports-c682a741556208c544377f170a0384f0d8ba2851.tar.gz |
Update to 2.4.0.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/Makefile | 2 | ||||
-rw-r--r-- | textproc/libxml2/distinfo | 2 | ||||
-rw-r--r-- | textproc/libxml2/files/patch-ab | 107 | ||||
-rw-r--r-- | textproc/libxml2/files/patch-ac | 14 | ||||
-rw-r--r-- | textproc/libxml2/files/patch-include::libxml::Makefile.in | 23 | ||||
-rw-r--r-- | textproc/libxml2/pkg-plist | 1 |
6 files changed, 114 insertions, 35 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 63e835f..244018e 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libxml2 -PORTVERSION= 2.3.10 +PORTVERSION= 2.4.0 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libxml diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo index c5434d3..20ba6ba 100644 --- a/textproc/libxml2/distinfo +++ b/textproc/libxml2/distinfo @@ -1 +1 @@ -MD5 (libxml2-2.3.10.tar.gz) = 8625086f7134417d530527c1efbb756b +MD5 (libxml2-2.4.0.tar.gz) = 38634715dd81ceb2a69bac3da8b5e56c diff --git a/textproc/libxml2/files/patch-ab b/textproc/libxml2/files/patch-ab index 95463f9..5f25575 100644 --- a/textproc/libxml2/files/patch-ab +++ b/textproc/libxml2/files/patch-ab @@ -1,26 +1,95 @@ ---- configure.orig Fri Jun 1 03:33:59 2001 -+++ configure Mon Jun 18 13:39:58 2001 -@@ -3545,3 +3545,3 @@ + +$FreeBSD$ + +--- configure.orig Tue Jul 10 18:51:46 2001 ++++ configure Wed Jul 11 10:25:59 2001 +@@ -3569,7 +3569,7 @@ + + XML_LIBDIR='-L${libdir}' -XML_INCLUDEDIR='-I${includedir}/libxml -I${includedir}' +XML_INCLUDEDIR='-I${includedir}/libxml2 -I${includedir}/libxml2/libxml' -@@ -4028,3 +4028,3 @@ - builtin and then its argument prototype would still apply. */ --char iconv(); -+char libiconv(); - -@@ -4038,3 +4038,3 @@ - #else --iconv(); -+libiconv(); - #endif -@@ -4074,6 +4074,6 @@ - builtin and then its argument prototype would still apply. */ --char iconv(); -+char libiconv(); + XML_CFLAGS="" + RDL_LIBS="" +@@ -4020,16 +4020,16 @@ + ICONV_LIBS="-L$with_iconv/lib" + fi + +- ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'` +-echo $ac_n "checking for iconv.h""... $ac_c" 1>&6 +-echo "configure:4026: checking for iconv.h" >&5 ++ ac_safe=`echo "giconv.h" | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for giconv.h""... $ac_c" 1>&6 ++echo "configure:4026: checking for giconv.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF + #line 4031 "configure" + #include "confdefs.h" +-#include <iconv.h> ++#include <giconv.h> + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:4036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +@@ -4048,17 +4048,17 @@ + fi + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- echo $ac_n "checking for iconv""... $ac_c" 1>&6 +-echo "configure:4053: checking for iconv" >&5 ++ echo $ac_n "checking for libiconv""... $ac_c" 1>&6 ++echo "configure:4053: checking for libiconv" >&5 + cat > conftest.$ac_ext <<EOF + #line 4055 "configure" + #include "confdefs.h" + #include <stdlib.h> +-#include <iconv.h> ++#include <giconv.h> + int main() { + + iconv_t cd = iconv_open ("",""); +-iconv (cd, NULL, NULL, NULL, NULL); ++libiconv (cd, NULL, NULL, NULL, NULL); + ; return 0; } + EOF + if { (eval echo configure:4065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +@@ -4072,23 +4072,23 @@ + rm -rf conftest* + + echo "$ac_t""no" 1>&6 +- echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6 +-echo "configure:4077: checking for iconv in -liconv" >&5 ++ echo $ac_n "checking for libiconv in -lgiconv""... $ac_c" 1>&6 ++echo "configure:4077: checking for libiconv in -lgiconv" >&5 + + _ldflags="${LDFLAGS}" + _libs="${LIBS}" + LDFLAGS="${LDFLAGS} ${ICONV_LIBS}" +- LIBS="${LIBS} -liconv" ++ LIBS="${LIBS} -lgiconv" + cat > conftest.$ac_ext <<EOF + #line 4085 "configure" + #include "confdefs.h" + #include <stdlib.h> +-#include <iconv.h> ++#include <giconv.h> int main() { --iconv() -+libiconv() + + iconv_t cd = iconv_open ("",""); +-iconv (cd, NULL, NULL, NULL, NULL); ++libiconv (cd, NULL, NULL, NULL, NULL); ; return 0; } + EOF + if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +@@ -4096,7 +4096,7 @@ + + echo "$ac_t""yes" 1>&6 + WITH_ICONV=1 +- ICONV_LIBS="${ICONV_LIBS} -liconv" ++ ICONV_LIBS="${ICONV_LIBS} -lgiconv" + LIBS="${_libs}" + LDFLAGS="${_ldflags}" + else diff --git a/textproc/libxml2/files/patch-ac b/textproc/libxml2/files/patch-ac deleted file mode 100644 index 93ac874c..0000000 --- a/textproc/libxml2/files/patch-ac +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- include/Makefile.in.orig Thu Feb 8 13:47:30 2001 -+++ include/Makefile.in Fri Feb 9 02:04:41 2001 -@@ -111,7 +111,7 @@ - Z_CFLAGS = @Z_CFLAGS@ - Z_LIBS = @Z_LIBS@ - --xmlincdir = $(includedir) -+xmlincdir = $(includedir)/libxml2 - - xmlinc_HEADERS = libxml/SAX.h libxml/entities.h libxml/encoding.h libxml/parser.h libxml/parserInternals.h libxml/xmlerror.h libxml/HTMLparser.h libxml/HTMLtree.h libxml/debugXML.h libxml/tree.h libxml/hash.h libxml/xpath.h libxml/xpathInternals.h libxml/xpointer.h libxml/xinclude.h libxml/xmlIO.h libxml/xmlmemory.h libxml/nanohttp.h libxml/nanoftp.h libxml/uri.h libxml/valid.h libxml/xlink.h libxml/xmlversion.h - diff --git a/textproc/libxml2/files/patch-include::libxml::Makefile.in b/textproc/libxml2/files/patch-include::libxml::Makefile.in new file mode 100644 index 0000000..5751cef --- /dev/null +++ b/textproc/libxml2/files/patch-include::libxml::Makefile.in @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- include/libxml/Makefile.in.orig Wed Jul 11 10:26:41 2001 ++++ include/libxml/Makefile.in Wed Jul 11 10:34:18 2001 +@@ -116,7 +116,7 @@ + Z_CFLAGS = @Z_CFLAGS@ + Z_LIBS = @Z_LIBS@ + +-xmlincdir = $(includedir)/libxml ++xmlincdir = $(includedir)/libxml2/libxml + + xmlinc_HEADERS = SAX.h entities.h encoding.h parser.h parserInternals.h xmlerror.h HTMLparser.h HTMLtree.h debugXML.h tree.h list.h hash.h xpath.h xpathInternals.h xpointer.h xinclude.h xmlIO.h xmlmemory.h nanohttp.h nanoftp.h uri.h valid.h xlink.h xmlversion.h xmlwin32version.h DOCBparser.h catalog.h + +@@ -275,7 +275,7 @@ + + + install-exec-hook: +- $(mkinstalldirs) $(DESTDIR)$(xmlincdir) $(DESTDIR)$(xmlincdir)/libxml ++ $(mkinstalldirs) $(DESTDIR)$(xmlincdir) + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/textproc/libxml2/pkg-plist b/textproc/libxml2/pkg-plist index 307cd8b..d018471 100644 --- a/textproc/libxml2/pkg-plist +++ b/textproc/libxml2/pkg-plist @@ -24,6 +24,7 @@ include/libxml2/libxml/xmlIO.h include/libxml2/libxml/xmlerror.h include/libxml2/libxml/xmlmemory.h include/libxml2/libxml/xmlversion.h +include/libxml2/libxml/xmlwin32version.h include/libxml2/libxml/xpath.h include/libxml2/libxml/xpathInternals.h include/libxml2/libxml/xpointer.h |