Update to 1.0.3.

This commit is contained in:
Hiroki Sato 2011-01-04 08:42:15 +00:00
parent 9c61e9a946
commit 6a69cc0dd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267369
3 changed files with 23 additions and 113 deletions

View file

@ -7,8 +7,7 @@
#
PORTNAME= xmlstarlet
PORTVERSION= 1.0.1
PORTREVISION= 1
PORTVERSION= 1.0.3
CATEGORIES= textproc
MASTER_SITES= SF/xmlstar/${PORTNAME}/${PORTVERSION}

View file

@ -1,3 +1,2 @@
MD5 (xmlstarlet-1.0.1.tar.gz) = 8deb71834bcdfb4443c258a1f0042fce
SHA256 (xmlstarlet-1.0.1.tar.gz) = 161c24cfbc54e141c230d2a12b91f21dfd552fde4c9f4b0cf975dd691580d698
SIZE (xmlstarlet-1.0.1.tar.gz) = 320847
SHA256 (xmlstarlet-1.0.3.tar.gz) = a080bfb178671c6fc68ef25d797e9d21bcfd20fb4e0bcff46f4f1b4e6207f673
SIZE (xmlstarlet-1.0.3.tar.gz) = 379746

View file

@ -1,113 +1,25 @@
--- configure.orig Wed Sep 28 17:30:45 2005
+++ configure Wed Sep 28 17:37:07 2005
@@ -1042,7 +1042,7 @@
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
-CFLAGS=
+#CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1048: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
@@ -1076,7 +1076,7 @@
--- configure.orig 2010-11-19 02:01:45.000000000 +0900
+++ configure 2011-01-04 17:39:35.000000000 +0900
@@ -4123,8 +4123,8 @@
else
: ${LIBXML_INCDIR="$LIBXML_PREFIX/include/libxml2"}
fi
-LIBXML_LIBS="$LIBXML_LIBDIR/libxml2.a"
-LIBXML_CPPFLAGS="-DLIBXML_STATIC -I$LIBXML_INCDIR"
+LIBXML_LIBS="`pkg-config --libs libxml-2.0` -pthread"
+LIBXML_CPPFLAGS="-I$LIBXML_INCDIR"
-CFLAGS="-Wall -g -pedantic"
+#CFLAGS="-Wall -g -pedantic"
EXTRA_LIBS=
case "${host}" in
@@ -1095,7 +1095,7 @@
withval="$with_libxml_prefix"
LIBXML_PREFIX=$withval
LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml"
- LIBXML_LIBS="$withval/lib/libxml2.a -lz -lm -lpthread -ldl"
+ LIBXML_LIBS="`pkg-config --libs libxml-2.0` %%PTHREAD%%"
@@ -4249,9 +4249,9 @@
: ${LIBXSLT_INCDIR="$LIBXSLT_PREFIX/include"}
if test "x$LIBXSLT_SRCDIR" != x; then :
LIBXSLT_INCDIR="$LIBXSLT_SRCDIR"
- LIBXSLT_LIBS="$LIBXSLT_SRCDIR/libexslt/.libs/libexslt.a $LIBXSLT_SRCDIR/libxslt/.libs/libxslt.a"
+ LIBXSLT_LIBS="`pkg-config --libs libexslt` -pthread"
else
- LIBXSLT_LIBS="$LIBXSLT_LIBDIR/libexslt.a $LIBXSLT_LIBDIR/libxslt.a"
+ LIBXSLT_LIBS="`pkg-config --libs libexslt` -pthread"
fi
@@ -1111,7 +1111,7 @@
# Check whether --with-libxml-libs-prefix or --without-libxml-libs-prefix was given.
if test "${with_libxml_libs_prefix+set}" = set; then
withval="$with_libxml_libs_prefix"
- LIBXML_LIBS="$withval/libxml2.a -lz -lm -lpthread -ldl"
+ LIBXML_LIBS="`pkg-config --libs libxml-2.0` %%PTHREAD%%"
fi
@@ -1120,7 +1120,7 @@
if test "${with_libxml_src+set}" = set; then
withval="$with_libxml_src"
LIBXML_SRC="$withval"
- LIBXML_LIBS="$withval/.libs/libxml2.a -lz -lm -lpthread"
+ LIBXML_LIBS="`pkg-config --libs libxml-2.0` %%PTHREAD%%"
LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml -I$withval/include"
fi
@@ -1144,8 +1144,7 @@
withval="$with_libxslt_prefix"
LIBXSLT_PREFIX=$withval
LIBXSLT_CFLAGS="-I$withval/include/libxslt -I$withval/include/libexslt"
- LIBXSLT_LIBS="$withval/lib/libxslt.a $withval/lib/libexslt.a -lz -lm -lpthread"
-
+ LIBXSLT_LIBS="`pkg-config --libs libexslt` %%PTHREAD%%"
fi
@@ -1160,7 +1159,7 @@
# Check whether --with-libxslt-libs-prefix or --without-libxslt-libs-prefix was given.
if test "${with_libxslt_libs_prefix+set}" = set; then
withval="$with_libxslt_libs_prefix"
- LIBXSLT_LIBS="$withval/libxslt.a $withval/libexslt.a -lz -lm -lpthread"
+ LIBXSLT_LIBS="`pkg-config --libs libexslt` %%PTHREAD%%"
fi
@@ -1169,7 +1168,7 @@
if test "${with_libxslt_src+set}" = set; then
withval="$with_libxslt_src"
LIBXSLT_SRC="$withval"
- LIBXSLT_LIBS="$withval/libxslt/.libs/libxslt.a $withval/libexslt/.libs/libexslt.a -lz -lm -lpthread"
+ LIBXSLT_LIBS="`pkg-config --libs libexslt` %%PTHREAD%%"
LIBXSLT_CFLAGS="-I$withval/libxslt -I$withval/libexslt -I$withval"
fi
@@ -1445,7 +1444,7 @@
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
-CFLAGS=
+#CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1451: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
@@ -2133,8 +2132,8 @@
#define vsnprintf _vsnprintf
EOF
- LIBXML_LIBS=`echo "$LIBXML_LIBS" | sed -e 's/ -lz//g' -e 's/ -lpthread//g'`
- LIBXSLT_LIBS=`echo "$LIBXSLT_LIBS" | sed -e 's/ -lz//g' -e 's/ -lpthread//g'`
+ LIBXML_LIBS=`echo "$LIBXML_LIBS" | sed -e 's/ -lz//g' -e 's/ %%PTHREAD%%//g'`
+ LIBXSLT_LIBS=`echo "$LIBXSLT_LIBS" | sed -e 's/ -lz//g' -e 's/ %%PTHREAD%%//g'`
;;
*-hpux* )
LIBXML_LIBS=`echo "$LIBXML_LIBS" | sed -e 's/ -lz//g'`
@@ -2159,7 +2158,7 @@
if test "x$LIBXML_LIBS" = "x"
then
- LIBXML_LIBS="${LIBXML_PREFIX}/lib/libxml2.a -lz -lm -lpthread -ldl"
+ LIBXML_LIBS="`pkg-config --libs libxml-2.0` %%PTHREAD%%"
fi
if test "x$LIBXSLT_CFLAGS" = "x"
@@ -2169,7 +2168,7 @@
if test "x$LIBXSLT_LIBS" = "x"
then
- LIBXSLT_LIBS="${LIBXSLT_PREFIX}/lib/libxslt.a ${LIBXSLT_PREFIX}/lib/libexslt.a -lz -lm -lpthread"
+ LIBXSLT_LIBS="`pkg-config --libs libexslt` %%PTHREAD%%"
fi
if test "x$LIBICONV_CFLAGS" = "x"
: ${LIBSLT_INCDIR="$LIBXSLT_PREFIX/include"}
LIBXSLT_CPPFLAGS="-I$LIBXSLT_INCDIR"