Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2007 13:44:36 +0800 (CST)
From:      CHAO Shin <quakelee@cn.FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113047: [PATCH] science/pnetcdf add a dependence again
Message-ID:  <200705270544.l4R5iaLp024421@tarsier.delphij.net>
Resent-Message-ID: <200705270550.l4R5o2C8044962@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113047
>Category:       ports
>Synopsis:       [PATCH] science/pnetcdf add a dependence again
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 05:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     CHAO Shin
>Release:        FreeBSD 7.0-current i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD portyard.sysdept.sina.com.cn 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Feb 1 19:02:06 CST 2007 root@portyard.sysdept.sina.com.cn:/usr/obj/usr/src/sys/GX270 i386
>Description:
	add a new dependence of gfortran42. The patch submit last time in pr-ports/112540
has some problem, this is a new one. Please close that pr. Thank you!
>How-To-Repeat:
>Fix:

	

--- patch-pnetcdf.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/science/pnetcdf/Makefile,v
retrieving revision 1.2
diff -u -p -a -u -r1.2 Makefile
--- Makefile	19 May 2007 20:22:18 -0000	1.2
+++ Makefile	27 May 2007 05:36:50 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	pnetcdf
 PORTVERSION=	1.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	science parallel
 MASTER_SITES=	http://www-unix.mcs.anl.gov/parallel-netcdf/
 DISTNAME=	parallel-netcdf-${PORTVERSION}
@@ -32,11 +32,13 @@ MAN3=		pnetcdf.3
 
 .if defined(WITH_OPENMPI)
 BUILD_DEPENDS+=	${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
+		gfortran42:${PORTSDIR}/lang/gcc42
 RUN_DEPENDS+=	${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
 CONFIGURE_ARGS=	--enable-shared --mandir=${PREFIX}/man --disable-f77 --with-mpi=${PREFIX}/mpi/openmpi
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran"
 .else
 BUILD_DEPENDS+=	${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2
+		gfortran42:${PORTSDIR}/lang/gcc42
 RUN_DEPENDS+=	${LOCALBASE}/mpich2/lib/libmpich.so:${PORTSDIR}/net/mpich2
 CONFIGURE_ARGS=	--enable-shared --mandir=${PREFIX}/man --disable-f77 --with-mpi=${PREFIX}/mpich2
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran"
--- patch-pnetcdf.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?200705270544.l4R5iaLp024421>