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 /x11/xstroke | |
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 'x11/xstroke')
-rw-r--r-- | x11/xstroke/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile index 3adb3c26fdaa..4dba512c6179 100644 --- a/x11/xstroke/Makefile +++ b/x11/xstroke/Makefile @@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt +USE_REINPLACE= yes USE_BISON= yes USE_IMAKE= yes CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} @@ -24,10 +25,10 @@ LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt MAN1= xstroke.1 post-patch: - @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \ s,%%CFLAGS%%,${CFLAGS},g ; \ s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile - @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile - @${PERL} -pi -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile + @${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h .include <bsd.port.mk> |