[146440] trunk/dports/math/mathgl

mojca at macports.org mojca at macports.org
Mon Mar 7 09:24:27 PST 2016


Revision: 146440
          https://trac.macports.org/changeset/146440
Author:   mojca at macports.org
Date:     2016-03-07 09:24:27 -0800 (Mon, 07 Mar 2016)
Log Message:
-----------
mathgl: upgrade to 2.3.4, enable gsl, hdf5, disable openmp via configure (maintainer, closes #50795)

Modified Paths:
--------------
    trunk/dports/math/mathgl/Portfile
    trunk/dports/math/mathgl/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/math/mathgl/Portfile
===================================================================
--- trunk/dports/math/mathgl/Portfile	2016-03-07 17:12:02 UTC (rev 146439)
+++ trunk/dports/math/mathgl/Portfile	2016-03-07 17:24:27 UTC (rev 146440)
@@ -5,8 +5,7 @@
 PortGroup           cmake 1.0
 
 name                mathgl
-version             2.3.2
-revision            2
+version             2.3.4
 categories          math
 license             GPL-3
 maintainers         gmail.com:mschamschula openmaintainer
@@ -19,8 +18,8 @@
 homepage            http://mathgl.sourceforge.net/
 master_sites        sourceforge
 
-checksums           rmd160  ee752e705a338dabe5b5c5a9776a47be0ce0402f \
-                    sha256  63c2125c9dc7921d0e149cfb27c4304f5481449c8f03d5bff5437de1863289ee
+checksums           rmd160  711ab23b4253b4a667d9bed3480448b1271533e8 \
+                    sha256  6e93cd9f640c5b6c9dac4ca56854612d4261b4eadd6c8aad6536965195f08c02
 
 depends_lib-append  path:lib/libfltk.dylib:fltk \
                     port:giflib \
@@ -32,6 +31,11 @@
 
 patchfiles          patch-CMakeLists.txt.diff
 
+configure.args-append \
+                    -Denable-gsl=ON \
+                    -Denable-hdf5=ON \
+                    -Denable-openmp=OFF
+
 livecheck.type      regex
 livecheck.url       ${homepage}/doc_en/Download.html
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Modified: trunk/dports/math/mathgl/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/math/mathgl/files/patch-CMakeLists.txt.diff	2016-03-07 17:12:02 UTC (rev 146439)
+++ trunk/dports/math/mathgl/files/patch-CMakeLists.txt.diff	2016-03-07 17:24:27 UTC (rev 146440)
@@ -1,11 +1,15 @@
---- CMakeLists.txt.orig	2015-02-02 05:13:28.000000000 -0600
-+++ CMakeLists.txt	2015-03-16 10:17:39.000000000 -0500
-@@ -71,7 +71,7 @@
- option(enable-all-swig "Enable all SWIG based interfaces")
- option(enable-rvalue "Enable move constructor support (need C++11)" OFF)
- option(enable-pthread "Enable POSIX threads support" OFF)
--option(enable-openmp "Enable OpenMP support" ON)
-+option(enable-openmp "Enable OpenMP support" OFF)
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -569,9 +569,9 @@
+ 	if(NOT MSVC AND NOT BORLAND)
+ 		add_subdirectory( utils )
+ 	endif(NOT MSVC AND NOT BORLAND)
+-	if(NOT WIN32)
+-		add_subdirectory( fonts )
+-	endif(NOT WIN32)
++#	if(NOT WIN32)
++#		add_subdirectory( fonts )
++#	endif(NOT WIN32)
+ #	add_subdirectory( mgllab )
+ endif(NOT enable-lgpl)
  
- if(enable-pthread AND enable-openmp)
- 	message(SEND_ERROR "You can't enable POSIX threads and OpenMP at the same time!")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160307/8da20ee3/attachment.html>


More information about the macports-changes mailing list