From gjohnson@nola.srrc.usda.gov  Fri Jun  9 15:35:29 2000
Return-Path: <gjohnson@nola.srrc.usda.gov>
Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40])
	by hub.freebsd.org (Postfix) with ESMTP id 9DF9937C37E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2000 15:35:28 -0700 (PDT)
	(envelope-from gjohnson@nola.srrc.usda.gov)
Received: (from glenn@localhost)
	by symbion.srrc.usda.gov (8.9.3/8.9.3) id RAA21800;
	Fri, 9 Jun 2000 17:35:27 -0500 (CDT)
	(envelope-from glenn)
Message-Id: <200006092235.RAA21800@symbion.srrc.usda.gov>
Date: Fri, 9 Jun 2000 17:35:27 -0500 (CDT)
From: Glenn Johnson <gjohnson@nola.srrc.usda.gov>
Reply-To: Glenn Johnson <gjohnson@nola.srrc.usda.gov>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Get DeFT to use newest f77 port with binary name ftn77
X-Send-Pr-Version: 3.2

>Number:         19160
>Category:       ports
>Synopsis:       The f77 port now installs binary as ftn77 but DeFT calls fc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    alex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 15:40:00 PDT 2000
>Closed-Date:    Sun Jun 11 12:52:39 PDT 2000
>Last-Modified:  Sun Jun 11 12:53:03 PDT 2000
>Originator:     Glenn Johnson
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
USDA, ARS, SRRC
>Environment:

	

>Description:

        The DeFT port needs to be compiled with f2c/cc. The compiler
controller for this is provided by the f77 port. The current f77 port
installs the binary as ftn77 but the DeFT port calls the older binary
name fc. People should keep their ports tree up to date and so this port
should reflect current reality.

>How-To-Repeat:

	

>Fix:

        Apply the patch below. I am not sure what to do about the case
where people update the DeFT port directory but do not update the rest
of the ports tree. However, the DeFT port was recently updated so it
stands to reason that if one has the updated DeFT port subdirectory they
probably have a current ports tree. Thus the build dependency should be
for ftn77 rather than fc.

diff -ruN deft.old/Makefile deft/Makefile
--- deft.old/Makefile	Fri Jun  9 16:32:37 2000
+++ deft/Makefile	Fri Jun  9 16:30:02 2000
@@ -20,7 +20,7 @@
 
 .if ${OSVERSION} >= 400005
 # Using g77 is troublesome, then it is better to use f2c/cc.
-BUILD_DEPENDS=	fc:${PORTSDIR}/lang/f77
+BUILD_DEPENDS=	ftn77:${PORTSDIR}/lang/f77
 .endif
 
 post-configure:
diff -ruN deft.old/files/Makefile.deft deft/files/Makefile.deft
--- deft.old/files/Makefile.deft	Fri Jun  9 16:32:11 2000
+++ deft/files/Makefile.deft	Fri Jun  9 16:34:15 2000
@@ -11,8 +11,8 @@
 F2C = f2c
 F2CFLAGS += -w -Nn802
 .if ${OSVERSION} >= 400005
-#FC = ftn77
-FC = fc
+FC = ftn77
+#FC = fc
 CFLAGS += -I${PREFIX}/include
 .endif
 LFLAGS = 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->alex 
Responsible-Changed-By: alex 
Responsible-Changed-When: Sun Jun 11 09:39:50 PDT 2000 
Responsible-Changed-Why:  
Broken port, I want that. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19160 
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Sun Jun 11 12:52:39 PDT 2000 
State-Changed-Why:  
Committed, thanks! 

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