ports/75270: Update port: textproc/xmlstarlet to 0.9.5
KATO Tsuguru
tkato432 at yahoo.com
Sun Dec 19 17:10:08 UTC 2004
>Number: 75270
>Category: ports
>Synopsis: Update port: textproc/xmlstarlet to 0.9.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 19 17:10:07 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.5
Remove file:
files/patch-configure
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/textproc/xmlstarlet/Makefile textproc/xmlstarlet/Makefile
--- /usr/ports/textproc/xmlstarlet/Makefile Wed Jul 7 23:45:41 2004
+++ textproc/xmlstarlet/Makefile Sun Dec 19 08:42:44 2004
@@ -7,7 +7,7 @@
#
PORTNAME= xmlstarlet
-PORTVERSION= 0.9.1
+PORTVERSION= 0.9.5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= xmlstar
@@ -17,19 +17,20 @@
BUILD_DEPENDS= ${LOCALBASE}/lib/libxml2.a:${PORTSDIR}/textproc/libxml2 \
${LOCALBASE}/lib/libxslt.a:${PORTSDIR}/textproc/libxslt
-USE_REINPLACE= yes
+
USE_ICONV= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
--with-libxslt-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -liconv"
-PLIST_FILES= bin/xml
MAN1= xmlstarlet.1
+PLIST_FILES= bin/xml
post-patch:
- @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS," \
- -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff -urN /usr/ports/textproc/xmlstarlet/distinfo textproc/xmlstarlet/distinfo
--- /usr/ports/textproc/xmlstarlet/distinfo Wed Jun 30 11:29:25 2004
+++ textproc/xmlstarlet/distinfo Sun Dec 19 08:34:08 2004
@@ -1,2 +1,2 @@
-MD5 (xmlstarlet-0.9.1.tar.gz) = 62bc68b2d0c8fc688d1c3d999adc3a7a
-SIZE (xmlstarlet-0.9.1.tar.gz) = 300459
+MD5 (xmlstarlet-0.9.5.tar.gz) = 2887b267eac0d972a493b48a3926fd85
+SIZE (xmlstarlet-0.9.5.tar.gz) = 318081
diff -urN /usr/ports/textproc/xmlstarlet/files/patch-configure textproc/xmlstarlet/files/patch-configure
--- /usr/ports/textproc/xmlstarlet/files/patch-configure Wed Jul 7 14:37:57 2004
+++ textproc/xmlstarlet/files/patch-configure Thu Jan 1 09:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig Wed Jul 7 05:36:27 2004
-+++ configure Wed Jul 7 05:37:12 2004
-@@ -896,7 +896,7 @@
-
- if test "x$LIBXML_SRC" = "x"
- then
-- LIBXML_VERSION=`$LIBXML_PREFIX/bin/xml2-config --version | sed -e 's/\.//g' -e 's/^\(.\{3\}\).*/\1/'`
-+ LIBXML_VERSION=`$LIBXML_PREFIX/bin/xml2-config --version | sed -e 's/\.//g' -e 's/^\(.\{3,4\}\).*/\1/'`
- if test "$LIBXML_VERSION" -lt 262; then
- { echo "configure: error: xmlstarlet needs at least libxml2 version 2.6.2 (http://www.xmlsoft.org/)" 1>&2; exit 1; }
- fi
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list