summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:35:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:35:01 +0000
commit6097f03e914afc72ab11bca0cf311ad5f1fd15e3 (patch)
treea7f557a98d36da0017550c4118cccf1e4d496c25 /devel
parentPERL -> REINPLACE (diff)
PERL -> REINPLACE
Noticed on: bento
Notes
Notes: svn path=/head/; revision=69424
Diffstat (limited to 'devel')
-rw-r--r--devel/arm-elf-gcc295/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/arm-elf-gcc295/Makefile b/devel/arm-elf-gcc295/Makefile
index 91ef041a5cca..9692a0afe3c3 100644
--- a/devel/arm-elf-gcc295/Makefile
+++ b/devel/arm-elf-gcc295/Makefile
@@ -26,6 +26,7 @@ RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
GCC_REV= ${DISTNAME:S/gcc-//g}
PLIST_SUB+= GCC_REV=${GCC_REV}
USE_BZIP2= yes
+USE_REINPLACE= yes
CFLAGS:= ${CFLAGS:C/-m(arch|cpu)=[a-zA-Z0-9]+//}
CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --enable-languages="c,c++,objc"
.if defined(DEFAULT_CPU)
@@ -47,8 +48,8 @@ pre-extract:
.endif
post-configure:
- ${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=),\1#,' ${WRKSRC}/Makefile
- ${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,; \
+ ${REINPLACE_CMD} -e 's,^(TARGET_CONFIGDIRS\s*=),\1#,' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's,^(install-info:),\1\ndonot-\1,; \
s,\$$\(bindir\)/(\$$\(DEMANGLER_CROSS_NAME\)),./\1,' \
${WRKSRC}/gcc/Makefile