Date: Mon, 19 Jan 2009 21:35:08 +0900 (JST) From: "Shin'ya Murakami" <murashin@gfd-dennou.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130740: science/netcdf: fix broken fortran support Message-ID: <20090119.213508.241378885.murashin@gfd-dennou.org> Resent-Message-ID: <200901191240.n0JCe3Xq034973@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130740 >Category: ports >Synopsis: science/netcdf: fix broken fortran support >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 12:40:03 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: WITH_FORTRAN variable is valid only after the inclusion of bsd.port.pre.mk. Thus the value of 'defined(WITH_FORTRAN)' is always false. I attached a patch below to fix broken fortran support. >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-19 20:58:13.000000000 +0900 +++ netcdf/Makefile 2009-01-19 21:18:28.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/ @@ -32,6 +32,8 @@ OPTIONS= FORTRAN "Build library for Fortran" off +.include <bsd.port.pre.mk> + .if !defined(NOPORTDOCS) CONFIGURE_ARGS+=--enable-docs-install .else @@ -69,4 +71,4 @@ regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- netcdf.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090119.213508.241378885.murashin>