diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 02:35:01 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 02:35:01 +0000 |
commit | 1b7bb332fa18b58d935d7c527a75470c92de2626 (patch) | |
tree | 2f4141a4af38a668cf36cef3a620918d857e0a08 /devel/arm-elf-gcc295 | |
parent | ae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (diff) | |
download | FreeBSD-ports-1b7bb332fa18b58d935d7c527a75470c92de2626.zip FreeBSD-ports-1b7bb332fa18b58d935d7c527a75470c92de2626.tar.gz |
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'devel/arm-elf-gcc295')
-rw-r--r-- | devel/arm-elf-gcc295/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/arm-elf-gcc295/Makefile b/devel/arm-elf-gcc295/Makefile index 91ef041..9692a0a 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 |