ports/130740: science/netcdf: fix broken fortran support

Shin'ya Murakami murashin at gfd-dennou.org
Mon Jan 19 12:40:09 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list