aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2003-09-23 17:08:06 +0800
committergerald <gerald@FreeBSD.org>2003-09-23 17:08:06 +0800
commit061f5ca7c68a652aef783626e4865199bc4fb31c (patch)
treef7c7af4b9316b1d34b4bac4dda8cb044159db38e /devel
parent6e20cfcc1405b67404d424f2e9bf3448a8f1960a (diff)
downloadfreebsd-ports-graphics-061f5ca7c68a652aef783626e4865199bc4fb31c.tar.gz
freebsd-ports-graphics-061f5ca7c68a652aef783626e4865199bc4fb31c.tar.zst
freebsd-ports-graphics-061f5ca7c68a652aef783626e4865199bc4fb31c.zip
Unbreak build on -STABLE (partly by fixing the incorrect PERL->REINPLACE_CMD
substitution). PR: 55475 Submitted by: Michael Hsin <mhsin@mhsin.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/arm-elf-gcc295/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/arm-elf-gcc295/Makefile b/devel/arm-elf-gcc295/Makefile
index 9c56e44aff6..a5ccd0dd171 100644
--- a/devel/arm-elf-gcc295/Makefile
+++ b/devel/arm-elf-gcc295/Makefile
@@ -58,9 +58,11 @@ pre-extract:
post-configure:
${REINPLACE_CMD} -Ee 's,^(TARGET_CONFIGDIRS\s*=),\1#,' \
${WRKSRC}/Makefile
- ${REINPLACE_CMD} -Ee 's,^(install-info:),\1\ndonot-\1,; \
- s,\$$\(bindir\)/(\$$\(DEMANGLER_CROSS_NAME\)),./\1,' \
+ ${PERL} -i -ne 's/^(install-info:)/\1\ndonot-\1/; print' ${WRKSRC}/gcc/Makefile
+ ${REINPLACE_CMD} -Ee 's,\$$\(bindir\)/(\$$\(DEMANGLER_CROSS_NAME\)),./\1,' \
${WRKSRC}/gcc/Makefile
+ ${REINPLACE_CMD} -Ee 's/^(TARGET_CONFIGDIRS =)/\1#/' \
+ ${WRKSRC}/Makefile
post-install:
@${MV} ${PREFIX}/bin/cpp ${PREFIX}/bin/${PKGNAMEPREFIX}cpp