aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-07 04:34:45 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-07 04:34:45 +0000
commit730dd3d69bc855ec5cfa6cb8761dda8c140439ab (patch)
treef1f81981e198eb68f9ba8197842f5a720d967a59 /textproc/libxml2
parent5835f403b179693f18d50112fd81d63446c06ca9 (diff)
downloadports-730dd3d69bc855ec5cfa6cb8761dda8c140439ab.tar.gz
ports-730dd3d69bc855ec5cfa6cb8761dda8c140439ab.zip
Notes
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile10
-rw-r--r--textproc/libxml2/distinfo2
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