Date: Tue, 29 Apr 2014 01:05:40 GMT From: Jason Bacon <jwbacon@tds.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/189091: maintainer update: science/fvcom Message-ID: <201404290105.s3T15eXb021369@cgiserv.freebsd.org> Resent-Message-ID: <201404290110.s3T1A0US086835@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189091 >Category: ports >Synopsis: maintainer update: science/fvcom >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: Tue Apr 29 01:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: 10.0-RELEASE >Organization: Acadix Consulting, LLC >Environment: FreeBSD freebie.acadix.biz 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Correct LEGAL discrepancy, add MAKE_JOBS_UNSAFE, correct install for openmpi version. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN --exclude=CVS --exclude=.svn /usr/ports/science/fvcom/Makefile /usr/wip/science/fvcom/Makefile --- /usr/ports/science/fvcom/Makefile 2014-04-12 18:58:02.000000000 -0500 +++ /usr/wip/science/fvcom/Makefile 2014-04-28 19:50:24.000000000 -0500 @@ -18,11 +18,12 @@ libblas.so:${PORTSDIR}/math/lapack USES= fortran +USE_GCC= yes WRKSRC= ${WRKDIR}/FVCOM2.7.1/FVCOM_source -PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} +PLIST_FILES= ${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX} -RESTRICTED= may not be redistributed because of licensing reasons +RESTRICTED= Requires (free) registration .include <bsd.port.pre.mk> @@ -33,14 +34,23 @@ and place it in ${DISTDIR}/${DIST_SUBDIR}/ .endif +MAKE_JOBS_UNSAFE= yes + post-extract: ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile +post-patch: + ${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ + ${WRKDIR}/FVCOM2.7.1/METIS_source/makefile + ${REINPLACE_CMD} -e 's|cpp|${CPP}|g' \ + ${WRKDIR}/FVCOM2.7.1/FVCOM_source/Makefile + pre-build: (cd ${WRKSRC}/../METIS_source && make) do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${MPIPREFIX}bin ${INSTALL_PROGRAM} ${WRKSRC}/fvcom \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} + ${STAGEDIR}${PREFIX}/${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX} .include <bsd.port.post.mk> diff -ruN --exclude=CVS --exclude=.svn /usr/ports/science/fvcom/files/patch-mod_lag.F /usr/wip/science/fvcom/files/patch-mod_lag.F --- /usr/ports/science/fvcom/files/patch-mod_lag.F 2013-02-20 11:30:45.000000000 -0600 +++ /usr/wip/science/fvcom/files/patch-mod_lag.F 2014-04-28 18:20:22.000000000 -0500 @@ -1,5 +1,5 @@ --- mod_lag.F.orig 2008-07-25 16:44:11.000000000 -0500 -+++ mod_lag.F 2012-03-31 21:57:17.000000000 -0500 ++++ mod_lag.F 2014-04-28 12:23:34.000000000 -0500 @@ -212,7 +212,12 @@ !Lagrangian particle associated scalar character(len=80) :: lag_scal_choice diff -ruN --exclude=CVS --exclude=.svn /usr/ports/science/fvcom/pkg-message /usr/wip/science/fvcom/pkg-message --- /usr/ports/science/fvcom/pkg-message 1969-12-31 18:00:00.000000000 -0600 +++ /usr/wip/science/fvcom/pkg-message 2014-04-27 08:53:13.000000000 -0500 @@ -0,0 +1,4 @@ +----------------------------------------------------------------------- +FVCOM has many build options that can be used in combination. To build +other variants, use one of the slave ports science/fvcom-*. +----------------------------------------------------------------------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404290105.s3T15eXb021369>