[149284] trunk/dports/graphics/glfw/Portfile

michaelld at macports.org michaelld at macports.org
Thu Jun 9 10:37:06 PDT 2016


Revision: 149284
          https://trac.macports.org/changeset/149284
Author:   michaelld at macports.org
Date:     2016-06-09 10:37:06 -0700 (Thu, 09 Jun 2016)
Log Message:
-----------
glfw-devel: update to d8c278bf (20160606); no support for 10.6 or prior as of 3.2 release, per ticket #51571.

Modified Paths:
--------------
    trunk/dports/graphics/glfw/Portfile

Modified: trunk/dports/graphics/glfw/Portfile
===================================================================
--- trunk/dports/graphics/glfw/Portfile	2016-06-09 17:32:15 UTC (rev 149283)
+++ trunk/dports/graphics/glfw/Portfile	2016-06-09 17:37:06 UTC (rev 149284)
@@ -36,10 +36,10 @@
 
     # devel
 
-    github.setup    glfw glfw f6ec835599123c3c970d34534ed7ddc69a1fc6af
-    version         20160602
-    checksums       rmd160 e88b5e631026118f6def547c62e3a6ce28da8c95 \
-                    sha256 601bdf111653940711379e86def931fd5c9d571b08066d72aa25a4d2c572924c
+    github.setup    glfw glfw d8c278bf529da00df31d125a7ad6291123ade2ef
+    version         20160606
+    checksums       rmd160 f7de6e90e7a775942ad8dc49c3f487dd08e4efe8 \
+                    sha256 15fc3a1aeb3d31e54a512236bda958b9af57aee8ac753593f5dd47aeead4aabb
 
     # patch to fix install directory for cmake files and docs
 
@@ -51,6 +51,19 @@
 
 }
 
+# error out if trying to build on OSX 10.6 or earlier; not supported
+
+platform darwin {
+    if {${os.major} < 11} {
+        set os_note "${name} ${version} is designed for OS X 10.7 Lion and newer."
+        notes-append "\n\n${os_note}"
+        pre-fetch {
+            ui_error ${os_note}
+            error "unsupported platform"
+        }
+    }
+}
+
 # use the real home page, not github's
 
 homepage            http://www.glfw.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160609/7d0eff09/attachment.html>


More information about the macports-changes mailing list