diff options
Diffstat (limited to 'devel/msp430-gcc3')
-rw-r--r-- | devel/msp430-gcc3/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/msp430-gcc3/Makefile b/devel/msp430-gcc3/Makefile index 4fc7ac513678..e0678825d5a7 100644 --- a/devel/msp430-gcc3/Makefile +++ b/devel/msp430-gcc3/Makefile @@ -44,6 +44,13 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \ BINARIES= gcc cpp +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +BROKEN= "Does not compile on amd64 due to platform rename" +.endif + + post-configure: @${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=).+$$,\1,' ${WRKSRC}/Makefile @${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' ${WRKSRC}/gcc/Makefile @@ -55,4 +62,4 @@ post-install: ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> |