[145971] trunk/dports/graphics/glfw

michaelld at macports.org michaelld at macports.org
Tue Feb 23 06:41:18 PST 2016


Revision: 145971
          https://trac.macports.org/changeset/145971
Author:   michaelld at macports.org
Date:     2016-02-23 06:41:18 -0800 (Tue, 23 Feb 2016)
Log Message:
-----------
glfw:
+ update devel to de3e413a (20160222);
+ glfw does not support 10.6 or earler, so add a check to that effect in pre-fetch.

Modified Paths:
--------------
    trunk/dports/graphics/glfw/Portfile
    trunk/dports/graphics/glfw/files/patch-CMakeLists.txt.devel.diff

Modified: trunk/dports/graphics/glfw/Portfile
===================================================================
--- trunk/dports/graphics/glfw/Portfile	2016-02-23 14:22:02 UTC (rev 145970)
+++ trunk/dports/graphics/glfw/Portfile	2016-02-23 14:41:18 UTC (rev 145971)
@@ -37,10 +37,10 @@
 
     # devel
 
-    github.setup    glfw glfw 440466524ea6585b0f84cc42ddb38f202a142389
-    version         20160215
-    checksums       rmd160 9cd077e3c53e5602e7acb7b24e090da969bcd24a \
-                    sha256 b411ff49239653cd345a258c2d98bbb3f08421fdaae39ed3d191d0d948c68d7c
+    github.setup    glfw glfw de3e413aab6a558427dd0b73f679748c2cb1eb92
+    version         20160222
+    checksums       rmd160 07080c95c5f2e86a1969a6136a1c5d772a7e6e0a \
+                    sha256 2124b7c0b2f4e0694283a722842e02dd8f9c0ff13529aae2d35ef3a231e7486a
 
     # patch to fix install directory for cmake files and docs
 
@@ -82,3 +82,12 @@
 } else {
     configure.args-append -DDOXYGEN_EXECUTABLE=
 }
+
+platform darwin {
+    pre-fetch {
+        if {${os.major} < 10} {
+            ui_error "\n\n${name} does not support Mac OS X 10.6 or earlier.\n"
+            return -code error "Unsupported Mac OS X version."
+        }
+    }
+}

Modified: trunk/dports/graphics/glfw/files/patch-CMakeLists.txt.devel.diff
===================================================================
--- trunk/dports/graphics/glfw/files/patch-CMakeLists.txt.devel.diff	2016-02-23 14:22:02 UTC (rev 145970)
+++ trunk/dports/graphics/glfw/files/patch-CMakeLists.txt.devel.diff	2016-02-23 14:41:18 UTC (rev 145971)
@@ -1,6 +1,6 @@
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -367,7 +367,11 @@
+@@ -358,7 +358,11 @@
  #--------------------------------------------------------------------
  include(CMakePackageConfigHelpers)
  
@@ -13,7 +13,7 @@
  
  configure_package_config_file(src/glfw3Config.cmake.in
                                src/glfw3Config.cmake
-@@ -401,6 +405,9 @@
+@@ -392,6 +396,9 @@
  
  if (DOXYGEN_FOUND AND GLFW_BUILD_DOCS)
      add_subdirectory(docs)
@@ -23,7 +23,7 @@
  endif()
  
  #--------------------------------------------------------------------
-@@ -421,6 +428,11 @@
+@@ -412,6 +419,11 @@
      install(FILES "${GLFW_BINARY_DIR}/src/glfw3.pc"
              DESTINATION "lib${LIB_SUFFIX}/pkgconfig")
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160223/b0e40bc1/attachment-0001.html>


More information about the macports-changes mailing list