diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
commit | fd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch) | |
tree | 6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /lang/icon | |
parent | 54d69c112debb52b84b6d174bd59479eec834fb7 (diff) | |
download | FreeBSD-ports-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip FreeBSD-ports-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'lang/icon')
-rw-r--r-- | lang/icon/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile index a0f025c..645b57f 100644 --- a/lang/icon/Makefile +++ b/lang/icon/Makefile @@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org ONLY_FOR_ARCHS= alpha i386 USE_XLIB= yes +USE_REINPLACE= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${X11BASE}/include" \ XLIBS="-L${X11BASE}/lib -lX11" ALL_TARGET= All @@ -27,10 +28,10 @@ ARCH_NAME= ${ARCH:S/i386/intel/}_${OPSYS:L} ICONDIR= ${PREFIX}/lib/${PORTNAME} pre-patch: - @${PERL} -pi -e 's|^CC|#CC|g ; \ + @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ s|^CFLAGS|#CFLAGS|g ; \ s|^XLIBS|#XLIBS|g' ${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs - @${PERL} -pi -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin + @${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin do-configure: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ |