summaryrefslogtreecommitdiff
path: root/lang/gcc40
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2006-04-18 20:48:29 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2006-04-18 20:48:29 +0000
commit4f0fd4573a38f8463ae94f3a56f89dca08eb31bb (patch)
tree3cc3465ec4d567a7a5430b0ef657f1baf8ffb42a /lang/gcc40
parent- Update to 0.3.0.0.1.7 (diff)
Restore hack to call amd64 by the name of x86_64 for the sake of configure.
Notes
Notes: svn path=/head/; revision=159902
Diffstat (limited to 'lang/gcc40')
-rw-r--r--lang/gcc40/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 3133ee0e143e..8422ea462278 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/Makefile
@@ -35,7 +35,11 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
+.else
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
+.endif
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build