aboutsummaryrefslogtreecommitdiff
path: root/lang/ferite
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:20:23 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:20:23 +0000
commit2f1e7a4789fec4de94b38c53d01bd08ee10124ea (patch)
treeaed87b1b125eb0bb5bfb90c2dadd3296670f067f /lang/ferite
parent444d2e1edce5f2e0fad951a90dc9b7845dd81f37 (diff)
downloadports-2f1e7a4789fec4de94b38c53d01bd08ee10124ea.tar.gz
ports-2f1e7a4789fec4de94b38c53d01bd08ee10124ea.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39605 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=61685
Diffstat (limited to 'lang/ferite')
-rw-r--r--lang/ferite/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/ferite/Makefile b/lang/ferite/Makefile
index 000cc3ac9570..97f593ea2668 100644
--- a/lang/ferite/Makefile
+++ b/lang/ferite/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client \
pcre.0:${PORTSDIR}/devel/pcre \
xml2.5:${PORTSDIR}/textproc/libxml2
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -35,7 +36,7 @@ post-install:
.endif
post-patch:
- @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%PTRHEAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:S/"//g}|g' \
${WRKSRC}/configure ${WRKSRC}/ferite-config.in