From 534fffca27bb18f7529d548c46ee3326505a89c7 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Sun, 1 Sep 2002 16:07:59 +0000 Subject: ${PERL} -> ${REINPLACE_CMD} PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net --- graphics/opendx/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'graphics/opendx') diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index 38bbe99de1a9..4b2f80a3cc18 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -27,6 +27,7 @@ USE_GMAKE= yes USE_MESA= yes USE_MOTIF= yes USE_XLIB= yes +USE_REINPLACE= yes AUTOMAKE_ARGS= -a -i GNU_CONFIGURE= yes CONFIGURE_ENV= ARCH="" \ @@ -41,13 +42,13 @@ post-patch: @${RM} -f ${WRKSRC}/include/stamp-h.in post-configure: - ${PERL} -pi -e "s;flex ;flex -l ;g" ${WRKSRC}/src/uipp/dxuilib/Makefile + ${REINPLACE_CMD} -e "s;flex ;flex -l ;g" ${WRKSRC}/src/uipp/dxuilib/Makefile post-install: @${ECHO_MSG} "===> Fixing path in the docs (/usr/lpp -> ${PREFIX})" .for dir in doc help html man - @find ${PREFIX}/dx/${dir} -type f | \ - xargs ${PERL} -pi -e "s;/usr/lpp;${PREFIX};g" + @${FIND} ${PREFIX}/dx/${dir} -type f | \ + ${XARGS} ${REINPLACE_CMD} -e "s;/usr/lpp;${PREFIX};g" .endfor .include -- cgit v1.2.3