Ticket #44230: root6.00.02.Portfile.diff
File root6.00.02.Portfile.diff, 2.6 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
11 11 12 12 13 13 # don't forget to update both the git tag and the version 14 github.setup root-mirror root 6-00-0 1v15 version 6.00.0 114 github.setup root-mirror root 6-00-02 v 15 version 6.00.02 16 16 # this could be a better way to set the version (unless we use a sha sum for the git tag ;) 17 17 # version [string map {- .} $version] 18 18 set version_major [lindex [split ${version} .] 0] 19 checksums rmd160 6ee9fd3c7ea5a11bf67331a5f24d5839f4ba67a0\20 sha256 ad3b64a44e25b05a666f05a7b12e4b9a4488ede5c68839c1151d13a348b3bf7f19 checksums rmd160 5efc28e5d68aaa4274d869c809c4d052d6011fe4 \ 20 sha256 6e6fa7fbe0fe72828a6a65f758af9e1fcb04b66dec7fae79ecbe06e81692b218 21 21 22 22 name root${version_major} 23 23 categories science … … 59 59 select.group root 60 60 select.file ${filespath}/${name} 61 61 62 patchfiles patch-cmake-modules-SearchInstalledSoftware.cmake.diff \ 63 patch-graf3d-gl-CMakeLists.txt.diff 62 patchfiles patch-cmake-modules-SearchInstalledSoftware.cmake.diff 64 63 65 64 # Force a compatible compiler 66 # (macports-clang-3.3 works; it's blacklisted only to give the preference to 3.4) 67 compiler.blacklist-append *gcc* {clang < 500} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2 macports-clang-3.3 65 compiler.blacklist-append *gcc* {clang < 500} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2 68 66 compiler.fallback-append macports-clang-3.4 macports-clang-3.5 69 67 70 68 # port specific location … … 214 212 215 213 universal_variant no 216 214 217 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl + soversion215 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +python27 +soversion 218 216 219 217 # Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer 220 218 # We also make it default on 10.7 -
files/patch-graf3d-gl-CMakeLists.txt.diff
1 https://sft.its.cern.ch/jira/browse/ROOT-63932 3 --- graf3d/gl/CMakeLists.txt.orig4 +++ graf3d/gl/CMakeLists.txt5 @@ -24,7 +24,7 @@ if(WIN32)6 elseif(cocoa)7 set(gllibs "-framework OpenGL")8 else()9 - set(gllibs ${OPENGL_LIBRARIES})10 + set(gllibs ${OPENGL_LIBRARIES} ${X11_LIBRARIES})11 endif()12 13 if(MACOSX_GLU_DEPRECATED)