[150712] trunk/dports/graphics/glew
jmr at macports.org
jmr at macports.org
Wed Jul 27 05:11:05 PDT 2016
Revision: 150712
https://trac.macports.org/changeset/150712
Author: jmr at macports.org
Date: 2016-07-27 05:11:04 -0700 (Wed, 27 Jul 2016)
Log Message:
-----------
glew: update to 2.0.0
Modified Paths:
--------------
trunk/dports/graphics/glew/Portfile
trunk/dports/graphics/glew/files/config_Makefile.darwin.patch
Removed Paths:
-------------
trunk/dports/graphics/glew/files/src_glewinfo.c.patch
Modified: trunk/dports/graphics/glew/Portfile
===================================================================
--- trunk/dports/graphics/glew/Portfile 2016-07-27 12:09:45 UTC (rev 150711)
+++ trunk/dports/graphics/glew/Portfile 2016-07-27 12:11:04 UTC (rev 150712)
@@ -4,7 +4,7 @@
PortSystem 1.0
name glew
-version 1.13.0
+version 2.0.0
categories graphics devel
platforms darwin
# some build scripts are GPL-2+ but we don't install them
@@ -21,12 +21,11 @@
homepage http://glew.sourceforge.net/
master_sites sourceforge:project/${name}/${name}/${version}/
extract.suffix .tgz
-checksums md5 7cbada3166d2aadfc4169c4283701066 \
- sha1 d5b1c499f429aa91c466193b4e8ea94a84019e37 \
- rmd160 4ed99bea403cbe72d05cfca25694b31209922f9f
+checksums md5 2a2cd7c98f13854d2fcddae0d2b20411 \
+ sha1 6e15c84f7e1fad34cd3679f784a233744ddf048f \
+ rmd160 f68e021a1fabc5aed7add62b2c37be1cfadfaa5d
-patchfiles config_Makefile.darwin.patch \
- src_glewinfo.c.patch
+patchfiles config_Makefile.darwin.patch
post-patch {
reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/config/Makefile.darwin
@@ -58,8 +57,7 @@
post-destroot {
if {![variant_isset x11]} {
reinplace "/Requires: glu/d" \
- ${destroot}${prefix}/lib/pkgconfig/glew.pc \
- ${destroot}${prefix}/lib/pkgconfig/glewmx.pc
+ ${destroot}${prefix}/lib/pkgconfig/glew.pc
}
}
Modified: trunk/dports/graphics/glew/files/config_Makefile.darwin.patch
===================================================================
--- trunk/dports/graphics/glew/files/config_Makefile.darwin.patch 2016-07-27 12:09:45 UTC (rev 150711)
+++ trunk/dports/graphics/glew/files/config_Makefile.darwin.patch 2016-07-27 12:11:04 UTC (rev 150712)
@@ -1,6 +1,9 @@
---- config/Makefile.darwin.orig 2015-08-10 21:47:22.000000000 +1000
-+++ config/Makefile.darwin 2015-08-12 12:17:06.000000000 +1000
-@@ -2,9 +2,9 @@
+--- config/Makefile.darwin.orig 2016-07-24 10:43:37.000000000 +1000
++++ config/Makefile.darwin 2016-07-27 21:59:27.000000000 +1000
+@@ -1,11 +1,11 @@
+-GLEW_DEST = /usr/local
++GLEW_DEST ?= /usr/local
+ NAME = $(GLEW_NAME)
CC = cc
LD = cc
CFLAGS.EXTRA = -dynamic -fno-common
Deleted: trunk/dports/graphics/glew/files/src_glewinfo.c.patch
===================================================================
--- trunk/dports/graphics/glew/files/src_glewinfo.c.patch 2016-07-27 12:09:45 UTC (rev 150711)
+++ trunk/dports/graphics/glew/files/src_glewinfo.c.patch 2016-07-27 12:11:04 UTC (rev 150712)
@@ -1,11 +0,0 @@
---- src/glewinfo.c.orig 2015-08-10 21:47:22.000000000 +1000
-+++ src/glewinfo.c 2016-02-24 06:17:57.000000000 +1100
-@@ -11847,7 +11847,7 @@ GLboolean glewCreateContext (struct crea
- i = 0;
- contextAttrs[i++] = kCGLPFAAccelerated; /* No software rendering */
-
-- #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
-+ #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
- if (params->profile & GL_CONTEXT_CORE_PROFILE_BIT)
- {
- if (params->major==3 && params->minor>=2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160727/2e81cec9/attachment.html>
More information about the macports-changes
mailing list