From 730dd3d69bc855ec5cfa6cb8761dda8c140439ab Mon Sep 17 00:00:00 2001
From: Joe Marcus Clarke <marcus@FreeBSD.org>
Date: Sun, 7 Jul 2002 04:34:45 +0000
Subject: Update to 2.4.23.

---
 textproc/libxml2/Makefile | 10 +++++-----
 textproc/libxml2/distinfo |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index cfb7adc52ac5..e71cbff5b1a1 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libxml2
-PORTVERSION=	2.4.22
-PORTREVISION=	1
+PORTVERSION=	2.4.23
 CATEGORIES=	textproc gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	stable/sources/libxml
@@ -23,6 +22,7 @@ USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
+USE_REINPLACE=	yes
 CONFIGURE_ARGS=	--with-iconv=${LOCALBASE} \
 		--with-html-dir=${PREFIX}/share/doc
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
@@ -48,11 +48,11 @@ pre-extract:
 .endif
 
 pre-patch:
-	@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
-		's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+	@find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \
+		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
 
 post-patch:
-	@${PERL} -pi -e 's|\%\%LOCALBASE\%\%|${LOCALBASE}|g' \
+	@${REINPLACE_CMD} -e 's|[%][%]LOCALBASE[%][%]|${LOCALBASE}|g' \
 		${WRKSRC}/catalog.c ${WRKSRC}/xmlcatalog.c
 
 .include <bsd.port.mk>
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo
index 7bdcdde2168d..e61c46e90381 100644
--- a/textproc/libxml2/distinfo
+++ b/textproc/libxml2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/libxml2-2.4.22.tar.bz2) = 3a65ccb87d556bd50548aed784ad02d3
+MD5 (gnome2/libxml2-2.4.23.tar.bz2) = 3dd45ef3697bd4dd425cdb130da9db70
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0