diff options
Diffstat (limited to 'lang/schemetoc/Makefile')
-rw-r--r-- | lang/schemetoc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/schemetoc/Makefile b/lang/schemetoc/Makefile index 65e5960be57d..844c0baf5f30 100644 --- a/lang/schemetoc/Makefile +++ b/lang/schemetoc/Makefile @@ -14,6 +14,7 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_XLIB= yes INSTALLS_SHLIB= yes NO_WRKSUBDIR= yes @@ -30,7 +31,7 @@ post-extract: .endfor post-patch: - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scsc/*.sc - @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/scsc/*.sc + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scsc/*.sc + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/scsc/*.sc .include <bsd.port.mk> |