aboutsummaryrefslogtreecommitdiffstats
path: root/lang/scm/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-22 00:20:23 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-22 00:20:23 +0800
commitc33ba7a93beedb65065750f6fa125277fa1f1b51 (patch)
tree4b05f56b4bd74a7dbee4fca4ad8a61f8aa5e5bfe /lang/scm/Makefile
parent47ed91c6adc3291426fa5760230286c31b9dc8be (diff)
downloadfreebsd-ports-gnome-c33ba7a93beedb65065750f6fa125277fa1f1b51.tar.gz
freebsd-ports-gnome-c33ba7a93beedb65065750f6fa125277fa1f1b51.tar.zst
freebsd-ports-gnome-c33ba7a93beedb65065750f6fa125277fa1f1b51.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39605 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'lang/scm/Makefile')
-rw-r--r--lang/scm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/scm/Makefile b/lang/scm/Makefile
index 9ef9b19dc86a..0f68ec5b2098 100644
--- a/lang/scm/Makefile
+++ b/lang/scm/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= yes
USE_ZIP= yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
@@ -36,8 +37,8 @@ post-extract:
@${CP} ${FILESDIR}/require.scm.in ${WRKDIR}/require.scm
post-patch:
- @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKDIR}/require.scm
- @${PERL} -pi -e 's|%%CC%%|${CC}|g ; \
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKDIR}/require.scm
+ @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
s|%%CFLAGS%%|${CFLAGS}|g' ${WRKSRC}/build.scm
post-build: