ports/113047: [PATCH] science/pnetcdf add a dependence again

CHAO Shin quakelee at cn.FreeBSD.org
Sun May 27 05:50:03 UTC 2007


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



More information about the freebsd-ports-bugs mailing list