Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 16:39:53 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337747 - head/science/gromacs
Message-ID:  <201312271639.rBRGdrq3016214@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Dec 27 16:39:52 2013
New Revision: 337747
URL: http://svnweb.freebsd.org/changeset/ports/337747

Log:
  - USES=fortran.
  - Fix detection of dlopen(3) to support plugins from science/vmd.

Modified:
  head/science/gromacs/Makefile

Modified: head/science/gromacs/Makefile
==============================================================================
--- head/science/gromacs/Makefile	Fri Dec 27 16:20:16 2013	(r337746)
+++ head/science/gromacs/Makefile	Fri Dec 27 16:39:52 2013	(r337747)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gromacs
 PORTVERSION=	4.6.5
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	ftp://ftp.gromacs.org/pub/gromacs/
 
@@ -24,10 +25,9 @@ GSL_DESC=	Extra analysis using math/gsl
 MPICH_DESC=	MPI support using net/mpich2
 OMPI_DESC=	MPI support using net/openmpi
 
-USES=		cmake perl5 pkgconfig shebangfix
+USES=		cmake fortran perl5 pkgconfig shebangfix
 SHEBANG_FILES=	admin/*.pl scripts/*.pl scripts/*.sh src/gmxlib/selection/*.sh
 bash_CMD=	${SH}
-USE_FORTRAN=	yes
 CMAKE_ARGS=	-DBLAS_LIBRARIES:FILEPATH="${BLAS_LIBS}" \
 		-DLAPACK_LIBRARIES:FILEPATH="${LAPACK_LIBS}"
 USE_LDCONFIG=	yes
@@ -96,5 +96,7 @@ post-patch:
 	@${FIND} ${WRKSRC} -name "GMXRC.*" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|LDLIB/pkgconfig|LDLIB/../libdata/pkgconfig| ; \
 		 s|LDLIB}/pkgconfig|LDLIB}/../libdata/pkgconfig|'
+	@${REINPLACE_CMD} -e '/CMAKE_REQUIRED_LIBRARIES/d' \
+		${WRKSRC}/cmake/gmxTestdlopen.cmake
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271639.rBRGdrq3016214>