Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 00:24:59 -0500 (EST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        maho@FreeBSD.org
Subject:   ports/63110: amd64-fix: lang/gfortran
Message-ID:  <20040220052459.B00B739845@slurmcan.wormulon.net>
Resent-Message-ID: <200402200530.i1K5UIud037098@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63110
>Category:       ports
>Synopsis:       amd64-fix: lang/gfortran
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 21:30:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

FreeBSD/amd64 identifies itself as amd64 whereas x86_64 is expected:
http://bento.freebsd.org/errorlogs/amd64-5-latest/gfortran-3.5.20040130_1.log

If running /amd64 set the compile target to x86_64.

>How-To-Repeat:
	
>Fix:

	

--- gfortran-amd64.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/FreeBSD-CVS/ports/lang/gfortran/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	9 Feb 2004 02:07:48 -0000	1.7
+++ Makefile	20 Feb 2004 05:22:12 -0000
@@ -32,7 +32,11 @@
 
 .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
 WRKSRC=		${WRKDIR}/build
--- gfortran-amd64.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220052459.B00B739845>