From gjohnson@srrc.ars.usda.gov  Thu Sep  6 08:55:19 2001
Return-Path: <gjohnson@srrc.ars.usda.gov>
Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40])
	by hub.freebsd.org (Postfix) with ESMTP id D841E37B40B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Sep 2001 08:55:18 -0700 (PDT)
Received: from node7.cluster.srrc.usda.gov (node7.cluster.srrc.usda.gov [192.168.1.7])
	by symbion.srrc.usda.gov (8.11.6/8.11.6) with ESMTP id f86FtI707645
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Sep 2001 10:55:18 -0500 (CDT)
	(envelope-from gjohnson@srrc.ars.usda.gov)
Received: (from glenn@localhost)
	by node7.cluster.srrc.usda.gov (8.11.6/8.11.6) id f86FtHi05054;
	Thu, 6 Sep 2001 10:55:17 -0500 (CDT)
	(envelope-from glenn)
Message-Id: <200109061555.f86FtHi05054@node7.cluster.srrc.usda.gov>
Date: Thu, 6 Sep 2001 10:55:17 -0500 (CDT)
From: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
Reply-To: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Have Fortran use the CPUTYPE variable
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30399
>Category:       conf
>Synopsis:       [bsd.cpu.mk] [patch] Have Fortran use the CPUTYPE variable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 09:00:03 PDT 2001
>Closed-Date:    Sat Jan 14 15:46:38 UTC 2012
>Last-Modified:  Sat Jan 14 15:46:38 UTC 2012
>Originator:     Glenn Johnson
>Release:        FreeBSD 4.4-RC i386
>Organization:
USDA, ARS, SRRC
>Environment:
System: FreeBSD node7.cluster.srrc.usda.gov 4.4-RC FreeBSD 4.4-RC #4: Tue Sep 4 16:55:10 CDT 2001 root@node7.cluster.srrc.usda.gov:/usr/obj/usr/src/sys/CLUSTER-UP i386


	
>Description:
        Programs compiled with Fortran do not make use of the CPUTYPE
        variable.  The enclosed patch allows Fortran programs to be
        compiled with a machine optimization setting via the CPUTYPE
        variable.
>How-To-Repeat:
	
>Fix:

	Apply the enclosed patch to src/share/mk/bsd.cpu.mk

--- bsd.cpu.mk.orig	Thu Sep  6 10:49:13 2001
+++ bsd.cpu.mk	Thu Sep  6 10:49:35 2001
@@ -74,6 +74,10 @@
 CFLAGS += ${_CPUCFLAGS}
 .endif
 
+.if !defined(NO_CPU_CFLAGS)
+FFLAGS += ${_CPUCFLAGS}
+.endif
+
 # Set up the list of CPU features based on the CPU type.  This is an
 # unordered list to make it easy for client makefiles to test for the
 # presence of a CPU feature.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brueffer 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Fri Jan 25 16:30:06 UTC 2008 
Responsible-Changed-Why:  
Assign to brueffer who has recently been cleaning up Fortran-related 
issues.  Since Fortran is no longer in the base system (now just a 
port), this may be OBE. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=30399 

From: "b. f." <bf1783@googlemail.com>
To: brueffer <brueffer@freebsd.org>, rwatson@freebsd.org
Cc: bug-followup@FreeBSD.org
Subject: Re: conf/30399: [bsd.cpu.mk] [patch] Have Fortran use the CPUTYPE variable
Date: Tue, 21 Sep 2010 09:28:54 +0000

 >Assign to brueffer who has recently been cleaning up Fortran-related
 >issues. Since Fortran is no longer in the base system (now just a
 >port), this may be OBE.
 
 I don't know if this cleanup effort was abandoned, considering the
 amount of time that has passed since the above comment, but just for
 the record: if all Fortran-related material in the base system
 makefiles is removed without accompanying changes to FreeBSD Ports, it
 will break many of the Fortran-related ports, as many of these ports
 use bsd.lib.mk, etc.  If a removal is still planned, the Fortran bits
 should be extracted and moved to ports/Mk/bsd.gcc.mk, or another
 relevant ports makefile.
 
 b.
Responsible-Changed-From-To: brueffer->freebsd-bugs 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Sun Sep 11 22:37:56 CEST 2011 
Responsible-Changed-Why:  
I haven't used Fortran in a long time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30399 
State-Changed-From-To: open->feedback 
State-Changed-By: arundel 
State-Changed-When: Mon Nov 21 23:24:45 UTC 2011 
State-Changed-Why:  
I suggest we close this problem report. Fortran now is simply *some* programming 
language in ports, after its removal from base. It shouldn't be handled 
any differently than any other /usr/ports/lang/*, imo. 
Thus it should not be dealt with in bsd.cpu.mk. 

Thoughts? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30399 
State-Changed-From-To: feedback->closed 
State-Changed-By: eadler 
State-Changed-When: Sat Jan 14 15:46:36 UTC 2012 
State-Changed-Why:  
per arundel 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30399 
>Unformatted:
