summaryrefslogtreecommitdiff
path: root/lang/gcc40
diff options
context:
space:
mode:
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