From murashinln@gmail.com  Mon Jan 19 23:38:15 2009
Return-Path: <murashinln@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 28FE71065675
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jan 2009 23:38:15 +0000 (UTC)
	(envelope-from murashinln@gmail.com)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180])
	by mx1.freebsd.org (Postfix) with ESMTP id EE5F88FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jan 2009 23:38:14 +0000 (UTC)
	(envelope-from murashinln@gmail.com)
Received: by wa-out-1112.google.com with SMTP id m34so1628058wag.27
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Jan 2009 15:38:14 -0800 (PST)
Received: by 10.114.25.19 with SMTP id 19mr4512867way.89.1232406841899;
        Mon, 19 Jan 2009 15:14:01 -0800 (PST)
Received: from localhost (zaq3d2e48b1.zaq.ne.jp [61.46.72.177])
        by mx.google.com with ESMTPS id a8sm11155418poa.19.2009.01.19.15.14.00
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Mon, 19 Jan 2009 15:14:01 -0800 (PST)
Message-Id: <20090120.081419.209905640.murashinln@gmail.com>
Date: Tue, 20 Jan 2009 08:14:19 +0900 (JST)
From: Shin'ya Murakami <murashin@gfd-dennou.org>
Sender: "Shin'ya Murakami" <murashinln@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: science/netcdf: link problem with fortran library

>Number:         130760
>Category:       ports
>Synopsis:       science/netcdf: link problem with fortran library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 23:40:02 UTC 2009
>Closed-Date:    Sun Mar 22 22:09:55 UTC 2009
>Last-Modified:  Sun Mar 22 22:09:55 UTC 2009
>Originator:     Shin'ya Murakami
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD qgpv 7.1-STABLE FreeBSD 7.1-STABLE #1: Mon Jan 19 09:14:27 JST 2009 murashin@qgpv:/zpool0/obj/usr/src/sys/QGPV i386

>Description:
	'make regression-test' fails due to link problem with 
	fortran library. gfortran 4.3 need the flag -DpgiFortran 
	in CPPFLAGS instead of -Df2cFortran. see netcdf website 
	http://www.unidata.ucar.edu/software/netcdf/docs/known_problems.html#gfortran_43
	for reference.

>How-To-Repeat:
	N/A
>Fix:

--- netcdf.diff begins here ---
diff -urN /usr/ports/science/netcdf/Makefile netcdf/Makefile
--- /usr/ports/science/netcdf/Makefile	2009-01-20 08:03:25.000000000 +0900
+++ netcdf/Makefile	2009-01-20 08:05:07.000000000 +0900
@@ -7,7 +7,7 @@
 
 PORTNAME=	netcdf
 PORTVERSION=	3.6.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science
 MASTER_SITES=	ftp://ftp.unidata.ucar.edu/pub/netcdf/	\
 		http://sunpoet.net/distfiles/
@@ -18,7 +18,7 @@
 CONFLICTS=	hdf-4.* netcdf-4.*
 
 CONFIGURE_ARGS=	--enable-shared
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -DpgiFortran"
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
--- netcdf.diff ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jan 19 23:40:30 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: sunpoet@sunpoet.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/130760: science/netcdf: link problem with fortran library
Date: Mon, 19 Jan 2009 23:40:28 UT

 Maintainer of science/netcdf,
 
 Please note that PR ports/130760 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/130760
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sun Mar 22 22:09:45 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

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