aboutsummaryrefslogtreecommitdiff
path: root/devel/msp430-gcc3
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2004-02-25 11:37:03 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2004-02-25 11:37:03 +0000
commit48e16351b64e23b72caa3b8200ba961cf867d97b (patch)
treedbe3a32da5fc8155a13bb1db99a16037191baf2f /devel/msp430-gcc3
parent276751f7ee7f18529f41299c959bb6cf5e75f57b (diff)
downloadports-48e16351b64e23b72caa3b8200ba961cf867d97b.tar.gz
ports-48e16351b64e23b72caa3b8200ba961cf867d97b.zip
Notes
Diffstat (limited to 'devel/msp430-gcc3')
-rw-r--r--devel/msp430-gcc3/Makefile9
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>