aboutsummaryrefslogtreecommitdiff
path: root/science/gromacs
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-10-20 13:09:42 +0000
committerJohn Marino <marino@FreeBSD.org>2014-10-20 13:09:42 +0000
commit9056a800f0f9319366b7259c9335b62549d286fd (patch)
treeb928e6349884fbe8a119fa121cc6e56b715a624d /science/gromacs
parent329ae48a0217e6fd054574bb56ed9b15b06cc143 (diff)
downloadports-9056a800f0f9319366b7259c9335b62549d286fd.tar.gz
ports-9056a800f0f9319366b7259c9335b62549d286fd.zip
science/gromacs: Fix build on DragonFly (fix from dports)
Notes
Notes: svn path=/head/; revision=371267
Diffstat (limited to 'science/gromacs')
-rw-r--r--science/gromacs/files/patch-cmake_gmxManageSharedLibraries.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/gromacs/files/patch-cmake_gmxManageSharedLibraries.cmake b/science/gromacs/files/patch-cmake_gmxManageSharedLibraries.cmake
new file mode 100644
index 000000000000..b12db512de96
--- /dev/null
+++ b/science/gromacs/files/patch-cmake_gmxManageSharedLibraries.cmake
@@ -0,0 +1,11 @@
+--- cmake/gmxManageSharedLibraries.cmake.orig 2014-06-17 15:14:18.000000000 +0000
++++ cmake/gmxManageSharedLibraries.cmake
+@@ -39,7 +39,7 @@
+ ########################################################################
+ # Determine the defaults (this block has no effect if the variables have
+ # already been set)
+-if((APPLE OR CYGWIN OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD|GNU") AND NOT GMX_BUILD_MDRUN_ONLY)
++if((APPLE OR CYGWIN OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD|DragonFly") AND NOT GMX_BUILD_MDRUN_ONLY)
+ # Maybe Solaris should be here? Patch this if you know!
+ SET(SHARED_LIBS_DEFAULT ON)
+ elseif(WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "BlueGene")