[126714] trunk/dports/science/root6

mojca at macports.org mojca at macports.org
Tue Oct 14 05:19:48 PDT 2014


Revision: 126714
          https://trac.macports.org/changeset/126714
Author:   mojca at macports.org
Date:     2014-10-14 05:19:48 -0700 (Tue, 14 Oct 2014)
Log Message:
-----------
root6: upgrade to 6.02.00 + patches (#45265)

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

Removed Paths:
-------------
    trunk/dports/science/root6/files/patch-cmake-modules-SearchInstalledSoftware.cmake.diff
    trunk/dports/science/root6/files/patch-montecarlo-vmc-inc-TMCtls.h.diff

Modified: trunk/dports/science/root6/Portfile
===================================================================
--- trunk/dports/science/root6/Portfile	2014-10-14 12:16:18 UTC (rev 126713)
+++ trunk/dports/science/root6/Portfile	2014-10-14 12:19:48 UTC (rev 126714)
@@ -9,17 +9,19 @@
 PortGroup           github 1.0
 PortGroup           select 1.0
 
-
 # don't forget to update both the git tag and the version
-github.setup        root-mirror root 6-00-02 v
-version             6.00.02
-revision            2
+#github.setup       root-mirror root 6-02-00 v
+# tag below is 6.02/00 + a few minor fixes for installation issues.
+github.setup        root-mirror root f460f42728305617c4978ced32bd030b1b4279e0
+version             6.02.00
+
 # this could be a better way to set the version (unless we use a sha sum for the git tag ;)
 # version           [string map {- .} $version]
 set version_major   [lindex [split ${version} .] 0]
-checksums           rmd160  5efc28e5d68aaa4274d869c809c4d052d6011fe4 \
-                    sha256  6e6fa7fbe0fe72828a6a65f758af9e1fcb04b66dec7fae79ecbe06e81692b218
 
+checksums           rmd160  46c38ab178b114794b2f53cfdd59b41e53470223 \
+                    sha256  cfa9d3daadb05ff527d75ec5959bb1ca3d0ea2f200a09ec1959dc0ef9dba2389
+
 name                root${version_major}
 categories          science
 maintainers         hep.phy.cam.ac.uk:jonesc mojca
@@ -60,8 +62,6 @@
 select.group        root
 select.file         ${filespath}/${name}
 
-patchfiles          patch-cmake-modules-SearchInstalledSoftware.cmake.diff
-
 # Force a compatible compiler
 compiler.blacklist-append *gcc* {clang < 500} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2
 compiler.fallback-append macports-clang-3.4 macports-clang-3.5
@@ -125,17 +125,14 @@
 
 platform darwin {
 
-    if {${os.major} < 10} {
+    # No longer compiles on OSX10.6, due to update to internal LLVM version.
+    # Disable build on this platform.
+    if { ${os.major} < 11 } {
         pre-fetch {
-            ui_error "${name} requires C++11 and modifications of the package."
-            return -code error "C++11 needed"
+            ui_error "${name} is not supported on this OSX release."
+            return -code error "Unsupported OSX version"
         }
-    } elseif {${os.major} == 10} {
-        # an ugly workaround for lack of __thread on 10.6 (and earlier)
-        # it has to be patched properly upstream
-        # https://sft.its.cern.ch/jira/browse/ROOT-6394
-        patchfiles-append patch-montecarlo-vmc-inc-TMCtls.h.diff
-    }
+    } 
 
     # Note that we are forcing this choice.  This means that anything linking
     # against root6 needs to also be using libc++.  This is possibly
@@ -331,7 +328,7 @@
 # ========================================================================================
 
 # List of possible python versions
-set python_versions { 2.6 2.7 3.1 3.2 3.3 3.4 }
+set python_versions { 2.6 2.7 3.3 3.4 }
 set default_python_variant +python27
 
 # Define the available variants
@@ -567,7 +564,7 @@
 # Note that g95 does not work here, so that variant is removed
 # ========================================================================================
 
-set gcc_versions { 4.7 4.8 4.9 }
+set gcc_versions { 4.7 4.8 4.9 5 }
 set default_fortran_variant +gcc48
 
 foreach gcc_ver ${gcc_versions} {

Deleted: trunk/dports/science/root6/files/patch-cmake-modules-SearchInstalledSoftware.cmake.diff
===================================================================
--- trunk/dports/science/root6/files/patch-cmake-modules-SearchInstalledSoftware.cmake.diff	2014-10-14 12:16:18 UTC (rev 126713)
+++ trunk/dports/science/root6/files/patch-cmake-modules-SearchInstalledSoftware.cmake.diff	2014-10-14 12:19:48 UTC (rev 126714)
@@ -1,29 +0,0 @@
---- cmake/modules/SearchInstalledSoftware.cmake.orig
-+++ cmake/modules/SearchInstalledSoftware.cmake
-@@ -592,6 +592,8 @@ if(builtin_xrootd)
-                -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-                -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-                -DCMAKE_CXX_FLAGS=${__cxxflags}
-+               -DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT}
-+               -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
-   )
-   # We cannot call find_package(XROOTD) becuase the package is not yet built. So, we need to emulate what it defines....
-   set(_LIBDIR_DEFAULT "lib")
-@@ -644,6 +646,8 @@ if(cling)
-                  -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-                  -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
-                  -DLLVM_NOCLING=ON
-+                 -DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT}
-+                 -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
-       INSTALL_COMMAND ${CMAKE_COMMAND} -P <BINARY_DIR>/cmake_install.cmake
-       LOG_INSTALL 1
-     )
-@@ -724,6 +728,8 @@ if(cling)
-                -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-                -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-                -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
-+               -DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT}
-+               -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
-     INSTALL_COMMAND ${CMAKE_COMMAND} -P <BINARY_DIR>/cmake_install.cmake
-     LOG_INSTALL 1
-   )

Deleted: trunk/dports/science/root6/files/patch-montecarlo-vmc-inc-TMCtls.h.diff
===================================================================
--- trunk/dports/science/root6/files/patch-montecarlo-vmc-inc-TMCtls.h.diff	2014-10-14 12:16:18 UTC (rev 126713)
+++ trunk/dports/science/root6/files/patch-montecarlo-vmc-inc-TMCtls.h.diff	2014-10-14 12:19:48 UTC (rev 126714)
@@ -1,15 +0,0 @@
-https://sft.its.cern.ch/jira/browse/ROOT-6394
-
---- montecarlo/vmc/inc/TMCtls.h.orig
-+++ montecarlo/vmc/inc/TMCtls.h
-@@ -49,8 +49,8 @@
-         ( defined(__MACH__) && defined(__GNUC__) && __GNUC__>=4 && __GNUC_MINOR__>=7 ) || \
-         defined(__linux__) || defined(_AIX) ) && ( !defined(__CINT__) )
-       //  Multi-threaded build: for POSIX systems 
--      #include <pthread.h>
--      #define TMCThreadLocal __thread
-+//    #include <pthread.h>
-+      #define TMCThreadLocal
-   #else
-       //#  error "No Thread Local Storage (TLS) technology supported for this platform. Use sequential build !"
-       #define TMCThreadLocal 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141014/830ba616/attachment-0001.html>


More information about the macports-changes mailing list