From 690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd Mon Sep 17 00:00:00 2001 From: edwin Date: Mon, 4 Nov 2002 03:17:29 +0000 Subject: PERL -> REINPLACE and USE_PERL5 in some places Noticed by: bento --- textproc/tclExpat/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textproc/tclExpat') diff --git a/textproc/tclExpat/Makefile b/textproc/tclExpat/Makefile index eed7a6e8aa85..5ceef9f244ad 100644 --- a/textproc/tclExpat/Makefile +++ b/textproc/tclExpat/Makefile @@ -17,6 +17,7 @@ LIB_DEPENDS= tcl${TCL_DVER}:${PORTSDIR}/lang/tcl${TCL_DVER} \ expat.4:${PORTSDIR}/textproc/expat2 INSTALLS_SHLIB= yes +USE_REINPLACE= yes TCL_VERSION= 8.3 TCL_DVER= ${TCL_VERSION:S/.//} @@ -29,7 +30,7 @@ post-extract: ${RM} -rf ${WRKSRC}/expat post-patch: - ${PERL} -pi -e 's/TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION == 0/TCL_MAJOR_VERSION >= 8/;' \ + ${REINPLACE_CMD} -e 's/TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION == 0/TCL_MAJOR_VERSION >= 8/;' \ -e 's/xmlparse.h/expat.h/;' ${WRKSRC}/tclexpat.c test: build -- cgit