Date: Fri, 4 Aug 2017 15:22:12 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447345 - head/math/form Message-ID: <201708041522.v74FMCv4093160@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Aug 4 15:22:12 2017 New Revision: 447345 URL: https://svnweb.freebsd.org/changeset/ports/447345 Log: - Fix gmp optimization - Provide an option for OpenMPI support Modified: head/math/form/Makefile head/math/form/pkg-plist Modified: head/math/form/Makefile ============================================================================== --- head/math/form/Makefile Fri Aug 4 14:57:38 2017 (r447344) +++ head/math/form/Makefile Fri Aug 4 15:22:12 2017 (r447345) @@ -4,6 +4,7 @@ PORTNAME= form PORTVERSION= 4.2.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= math MAINTAINER= ehaupt@FreeBSD.org @@ -14,20 +15,30 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp -USES= autoreconf gmake +USES= autoreconf gmake localbase USE_GITHUB= yes GNU_CONFIGURE= yes GH_ACCOUNT= vermaseren -OPTIONS_DEFINE= DOXYGEN +OPTIONS_DEFINE= DOXYGEN OPENMPI OPTIONS_SUB= yes -DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen - CONFIGURE_ARGS+= --enable-scalar \ --enable-largefile \ --with-api=posix + +MPICC?= ${LOCALBASE}/mpi/openmpi/bin/mpicc +MPICXX?= ${LOCALBASE}/mpi/openmpi/bin/mpic++ + +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen + +OPENMPI_CONFIGURE_ENABLE= parform + +OPENMPI_CONFIGURE_ENV+= MPICC="${MPICC}" MPICXX="${MPICXX}" + +OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi \ + libgcc_s.so.1:lang/gcc5 post-build-DOXYGEN-on: (cd ${WRKSRC}/doc/manual; ${MAKE_CMD} html pdf) Modified: head/math/form/pkg-plist ============================================================================== --- head/math/form/pkg-plist Fri Aug 4 14:57:38 2017 (r447344) +++ head/math/form/pkg-plist Fri Aug 4 15:22:12 2017 (r447345) @@ -1,5 +1,6 @@ bin/form bin/tform +%%OPENMPI%%bin/parform man/man1/form.1.gz %%DOXYGEN%%%%DOCSDIR%%/html/manual.css %%DOXYGEN%%%%DOCSDIR%%/html/manual.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708041522.v74FMCv4093160>