summaryrefslogtreecommitdiff
path: root/devel/avr-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r--devel/avr-gcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index e842d4ced80b..0a9bb79e7622 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -57,6 +57,11 @@ BROKEN_mips64= Fails to configure: cannot compute suffix of object files
ARCH= x86_64
.endif
+post-patch:
+ @${FIND} ${WRKSRC} -type f \( -name '*.[ch]' -o -name '*.cc' \) | \
+ ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND|PRId64)' | \
+ ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND|PRId64)/" \1/g'
+
post-configure:
${MKDIR} ${WRKSRC}/gcc/include