diff options
author | Lev A. Serebryakov <lev@FreeBSD.org> | 2004-02-25 11:37:03 +0000 |
---|---|---|
committer | Lev A. Serebryakov <lev@FreeBSD.org> | 2004-02-25 11:37:03 +0000 |
commit | 48e16351b64e23b72caa3b8200ba961cf867d97b (patch) | |
tree | dbe3a32da5fc8155a13bb1db99a16037191baf2f | |
parent | 276751f7ee7f18529f41299c959bb6cf5e75f57b (diff) | |
download | ports-48e16351b64e23b72caa3b8200ba961cf867d97b.tar.gz ports-48e16351b64e23b72caa3b8200ba961cf867d97b.zip |
Notes
-rw-r--r-- | devel/msp430-gcc/Makefile | 9 | ||||
-rw-r--r-- | devel/msp430-gcc3/Makefile | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/devel/msp430-gcc/Makefile b/devel/msp430-gcc/Makefile index 4fc7ac513678..e0678825d5a7 100644 --- a/devel/msp430-gcc/Makefile +++ b/devel/msp430-gcc/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> 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> |