[120745] trunk/dports/science/gmsh

sean at macports.org sean at macports.org
Thu Jun 5 20:55:04 PDT 2014


Revision: 120745
          https://trac.macports.org/changeset/120745
Author:   sean at macports.org
Date:     2014-06-05 20:55:03 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
gmsh: fix lapack linking and update to 2.8.4; fixes #43775

Modified Paths:
--------------
    trunk/dports/science/gmsh/Portfile

Added Paths:
-----------
    trunk/dports/science/gmsh/files/
    trunk/dports/science/gmsh/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/science/gmsh/Portfile
===================================================================
--- trunk/dports/science/gmsh/Portfile	2014-06-06 03:54:59 UTC (rev 120744)
+++ trunk/dports/science/gmsh/Portfile	2014-06-06 03:55:03 UTC (rev 120745)
@@ -6,7 +6,7 @@
 
 name                gmsh
 conflicts           gmsh-devel
-version             2.8.3
+version             2.8.4
 categories          science
 platforms           darwin
 license             GPL-2+
@@ -24,11 +24,10 @@
 distname            gmsh-${version}-source
 extract.suffix      .tgz
 
-checksums           rmd160  7c418370ff2fb0b3ff737b8ce6816d9d7aa6c5fb \
-                    sha256  44ef0fc74cf89f3270b65a01a0eab296d947ac9cf442499b35e9db99d3c2312e
+checksums           rmd160  d71b848eb36f079c7b11f3f88b19748436b3a340 \
+                    sha256  199e27cba3258976eddfd7767560ec52382702076bca5d4bcf067124e6f6624b
 
-# TODO: Fix these missing includes in the appropriate files
-configure.cxxflags-append -include /usr/include/stdlib.h
+patchfiles          patch-CMakeLists.txt.diff
 
 configure.args-append \
     -DENABLE_OS_SPECIFIC_INSTALL=OFF \

Added: trunk/dports/science/gmsh/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/science/gmsh/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/science/gmsh/files/patch-CMakeLists.txt.diff	2014-06-06 03:55:03 UTC (rev 120745)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2014-05-21 12:53:30.000000000 -0500
++++ CMakeLists.txt	2014-05-21 13:06:33.000000000 -0500
+@@ -320,7 +320,7 @@
+       set_config_option(HAVE_LAPACK "Lapack(SunPerf)")
+     elseif(APPLE)
+       # on Mac we also know that blas and lapack are available
+-      set(LAPACK_LIBRARIES "-llapack -lblas")
++      set(LAPACK_LIBRARIES "-framework Accelerate")
+       set_config_option(HAVE_BLAS "Blas(VecLib)")
+       set_config_option(HAVE_LAPACK "Lapack(VecLib)")
+     endif(MSVC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/b2e45514/attachment.html>


More information about the macports-changes mailing list