From 257077de48ceb39261ea10c97f0a2124a1e7b225 Mon Sep 17 00:00:00 2001 From: dinoex Date: Mon, 31 May 2004 04:55:04 +0000 Subject: - fix configure for amd64 --- lang/gcc32/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lang') diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile index f34c8f3581fc..541f34535a80 100644 --- a/lang/gcc32/Makefile +++ b/lang/gcc32/Makefile @@ -35,11 +35,6 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4 .include -.if ${ARCH} == "amd64" -CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} -.else -CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} -.endif .if ${ARCH} == "sparc64" || ${ARCH} == "ia64" || ${ARCH} == "amd64" # libgcj is built on all platforms except sparc64 and ia64 and amd64 @@ -52,8 +47,12 @@ BROKEN= gcj does not build. .if ${PORTOBJFORMAT} == "aout" CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL} .else +.if ${ARCH} == "amd64" +CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} +.else CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif +.endif GCC_REV= ${PORTVERSION:C/\.0$//} SRCDIR= ${WRKDIR}/gcc-${GCC_REV} -- cgit