From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 19 23:40:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12B931065688 for ; Mon, 19 Jan 2009 23:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3FA58FC14 for ; Mon, 19 Jan 2009 23:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0JNe3QX063144 for ; Mon, 19 Jan 2009 23:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0JNe3M4063143; Mon, 19 Jan 2009 23:40:03 GMT (envelope-from gnats) Resent-Date: Mon, 19 Jan 2009 23:40:03 GMT Resent-Message-Id: <200901192340.n0JNe3M4063143@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Shin'ya Murakami" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28FE71065675 for ; 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 ; 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 ; 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" Sender: "Shin'ya Murakami" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/130760: science/netcdf: link problem with fortran library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2009 23:40:09 -0000 >Number: 130760 >Category: ports >Synopsis: science/netcdf: link problem with fortran library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jan 19 23:40:02 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted: