ports/63110: amd64-fix: lang/gfortran

Hendrik Scholz hendrik at scholz.net
Fri Feb 20 05:30:19 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list