aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-03 20:17:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-03 20:17:37 +0000
commitd82032cc0f54424138037abd985ecd11570b4da5 (patch)
tree67ede21f9ab01f1d5f521349ca35b7eaa3289e13 /textproc/libxml2/Makefile
parent403d738ee68eebcf35cb555d9c4fb5c81477939e (diff)
downloadports-d82032cc0f54424138037abd985ecd11570b4da5.tar.gz
ports-d82032cc0f54424138037abd985ecd11570b4da5.zip
Notes
Diffstat (limited to 'textproc/libxml2/Makefile')
-rw-r--r--textproc/libxml2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index 5fb6303ed94d..cfb7adc52ac5 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libxml2
PORTVERSION= 2.4.22
+PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/libxml
@@ -50,4 +51,8 @@ pre-patch:
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+post-patch:
+ @${PERL} -pi -e 's|\%\%LOCALBASE\%\%|${LOCALBASE}|g' \
+ ${WRKSRC}/catalog.c ${WRKSRC}/xmlcatalog.c
+
.include <bsd.port.mk>