From owner-svn-ports-head@FreeBSD.ORG Sat May 3 10:40:35 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13B076A6; Sat, 3 May 2014 10:40:35 +0000 (UTC) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id 20ED71DCD; Sat, 3 May 2014 10:40:33 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlsGAJLGZFNR8aZZ/2dsb2JhbABZgwZPS8RjgQ4XdIIlAQEFOhweBRALFAQJJQ8qHgYTiEUBCMoCF44fMweEOgSZMoE9kTiDNjsw Received: from 89.166-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.166.89]) by relay.skynet.be with ESMTP; 03 May 2014 12:40:31 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s43AeUsk001099; Sat, 3 May 2014 12:40:30 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sat, 3 May 2014 12:40:30 +0200 From: Tijl Coosemans To: Sunpoet Po-Chuan Hsieh Subject: Re: svn commit: r352857 - in head/science: . netcdf-fortran Message-ID: <20140503124030.3ded39c3@kalimero.tijl.coosemans.org> In-Reply-To: <201405030320.s433KmwX011923@svn.freebsd.org> References: <201405030320.s433KmwX011923@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2014 10:40:35 -0000 On Sat, 3 May 2014 03:20:48 +0000 (UTC) Sunpoet Po-Chuan Hsieh wrote: > Author: sunpoet > Date: Sat May 3 03:20:47 2014 > New Revision: 352857 > URL: http://svnweb.freebsd.org/changeset/ports/352857 > QAT: https://qat.redports.org/buildarchive/r352857/ > > Log: > - Add netcdf-fortran 4.2 > > NetCDF (network Common Data Form) is an interface for array-oriented > data access and a library that provides an implementation of the > interface. The netCDF library also defines a machine-independent > format for representing scientific data. Together, the interface, > library, and format support the creation, access, and sharing of > scientific data. The netCDF software was developed at the Unidata > Program Center in Boulder, Colorado. > > Git repository: https://github.com/Unidata/netcdf-fortran > > WWW: http://www.unidata.ucar.edu/software/netcdf/ > > Added: > head/science/netcdf-fortran/ > head/science/netcdf-fortran/Makefile (contents, props changed) > head/science/netcdf-fortran/distinfo (contents, props changed) > head/science/netcdf-fortran/pkg-descr (contents, props changed) > head/science/netcdf-fortran/pkg-plist (contents, props changed) > Modified: > head/science/Makefile > > Modified: head/science/Makefile > ============================================================================== > --- head/science/Makefile Sat May 3 03:18:06 2014 (r352856) > +++ head/science/Makefile Sat May 3 03:20:47 2014 (r352857) > @@ -103,6 +103,7 @@ > SUBDIR += ncs > SUBDIR += netcdf > SUBDIR += netcdf-cxx > + SUBDIR += netcdf-fortran > SUBDIR += netcdf-ftn > SUBDIR += netcdf3-ftn > SUBDIR += netcdf4 > > Added: head/science/netcdf-fortran/Makefile > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/netcdf-fortran/Makefile Sat May 3 03:20:47 2014 (r352857) > @@ -0,0 +1,38 @@ > +# Created by: Sunpoet Po-Chuan Hsieh > +# $FreeBSD$ > + > +PORTNAME= netcdf-fortran > +PORTVERSION= 4.2 > +CATEGORIES= science > +MASTER_SITES= https://github.com/Unidata/${PORTNAME}/archive/ \ > + LOCAL/sunpoet > + > +MAINTAINER= sunpoet@FreeBSD.org > +COMMENT= Fortran library for machine-independent, array-oriented data access > + > +LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf > + > +CONFLICTS= netcdf-ftn-[0-9]* netcdf3-ftn-[0-9]* > + > +CPPFLAGS+= -I${LOCALBASE}/include -fPIC -DPIC > +GNU_CONFIGURE= yes > +LDFLAGS+= -L${LOCALBASE}/lib > +MAKE_ENV= MAKEINFOFLAGS=--no-split > +MAKE_JOBS_UNSAFE= yes > +USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize > +USE_LDCONFIG= yes > +USES= fortran libtool pathfix > +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION} > + > +INFO= netcdf-f77 netcdf-f90 > + > +AUTOMAKE_ARGS= --add-missing > +PATHFIX_MAKEFILEIN= Makefile.am > + > +post-install: > + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetcdff.so.5 > + > +regression-test test: build > + cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check > + > +.include > > Added: head/science/netcdf-fortran/distinfo > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/netcdf-fortran/distinfo Sat May 3 03:20:47 2014 (r352857) > @@ -0,0 +1,2 @@ > +SHA256 (netcdf-fortran-4.2.tar.gz) = ab82c5edbb305d9ae6568eb0ac129b64bd8aca68fad4fa221ba8def399363bbb > +SIZE (netcdf-fortran-4.2.tar.gz) = 454043 > > Added: head/science/netcdf-fortran/pkg-descr > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/netcdf-fortran/pkg-descr Sat May 3 03:20:47 2014 (r352857) > @@ -0,0 +1,11 @@ > +NetCDF (network Common Data Form) is an interface for array-oriented > +data access and a library that provides an implementation of the > +interface. The netCDF library also defines a machine-independent > +format for representing scientific data. Together, the interface, > +library, and format support the creation, access, and sharing of > +scientific data. The netCDF software was developed at the Unidata > +Program Center in Boulder, Colorado. > + > +Git repository: https://github.com/Unidata/netcdf-fortran > + > +WWW: http://www.unidata.ucar.edu/software/netcdf/ > > Added: head/science/netcdf-fortran/pkg-plist > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/science/netcdf-fortran/pkg-plist Sat May 3 03:20:47 2014 (r352857) > @@ -0,0 +1,10 @@ > +bin/nf-config > +include/netcdf.inc > +include/netcdf.mod > +include/typesizes.mod > +lib/libnetcdff.a > +lib/libnetcdff.so > +lib/libnetcdff.so.5 > +libdata/pkgconfig/netcdf-fortran.pc > +man/man3/netcdf_f77.3.gz > +man/man3/netcdf_f90.3.gz I suspect you have to add "LIBTOOLIZE_ARGS=-i -c -f" to the Makefile such that libtoolize copies files rather than linking them. With links USES=libtool doesn't work and that's why you have libnetcdff.so.5 in pkg-plist instead of libnetcdff.so.X.Y.Z. I've opened a PR about making those LIBTOOLIZE_ARGS the default because this is currently a bit tricky.