diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-09-02 00:07:59 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-09-02 00:07:59 +0800 |
commit | fd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch) | |
tree | 6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /lang | |
parent | 54d69c112debb52b84b6d174bd59479eec834fb7 (diff) | |
download | freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'lang')
-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 a0f025c588ce..645b57fa28a9 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} \ |