[134510] trunk/dports/x11/freeglut
jeremyhu at macports.org
jeremyhu at macports.org
Fri Mar 27 14:12:04 PDT 2015
Revision: 134510
https://trac.macports.org/changeset/134510
Author: jeremyhu at macports.org
Date: 2015-03-27 14:12:03 -0700 (Fri, 27 Mar 2015)
Log Message:
-----------
freeglut: Bump to 3.0.0
Modified Paths:
--------------
trunk/dports/x11/freeglut/Portfile
Added Paths:
-----------
trunk/dports/x11/freeglut/files/
trunk/dports/x11/freeglut/files/darwin-gl-includes.patch
Modified: trunk/dports/x11/freeglut/Portfile
===================================================================
--- trunk/dports/x11/freeglut/Portfile 2015-03-27 20:52:12 UTC (rev 134509)
+++ trunk/dports/x11/freeglut/Portfile 2015-03-27 21:12:03 UTC (rev 134510)
@@ -2,9 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup cmake 1.0
name freeglut
-version 2.8.1
+version 3.0.0
categories x11 graphics
license X11
maintainers jeremyhu openmaintainer
@@ -16,19 +17,21 @@
platforms macosx darwin
master_sites sourceforge:project/freeglut/freeglut/${version}
-checksums sha1 7330b622481e2226c0c9f6d2e72febe96b03f9c4 \
- rmd160 22a8de93e68657bb34200fba0124c99704b34f93 \
- sha256 dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a
+checksums sha1 fca52242f9344627a30f11487ee42002e6b0dacd \
+ rmd160 ce4129a22199516ecf24491f0ed026f40c3f5dae \
+ sha256 2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2
depends_lib port:mesa \
port:xorg-libXrandr \
port:xorg-libXxf86vm
-use_autoreconf yes
-autoreconf.args -fvi
+patchfiles \
+ darwin-gl-includes.patch
-post-patch {
- reinplace "/SUBDIRS/s/progs//" ${worksrcpath}/Makefile.am
-}
+configure.args-append \
+ -DOPENGL_gl_LIBRARY:FILEPATH=${prefix}/lib/libGL.dylib \
+ -DOPENGL_glu_LIBRARY:FILEPATH=${prefix}/lib/libGLU.dylib \
+ -DFREEGLUT_BUILD_DEMOS:BOOL=OFF \
+ -DFREEGLUT_BUILD_STATIC_LIBS:BOOL=OFF
use_parallel_build yes
Added: trunk/dports/x11/freeglut/files/darwin-gl-includes.patch
===================================================================
--- trunk/dports/x11/freeglut/files/darwin-gl-includes.patch (rev 0)
+++ trunk/dports/x11/freeglut/files/darwin-gl-includes.patch 2015-03-27 21:12:03 UTC (rev 134510)
@@ -0,0 +1,17 @@
+FreeGlut doesn't support CGL, so I don't see why they're including the CGL
+OpenGL headers.
+
+https://sourceforge.net/p/freeglut/bugs/221
+
+--- include/GL/freeglut_std.h.orig 2014-10-17 09:28:24.000000000 -0700
++++ include/GL/freeglut_std.h 2015-03-27 11:56:29.000000000 -0700
+@@ -136,9 +136,6 @@
+ # include <EGL/egl.h>
+ # include <GLES/gl.h>
+ # include <GLES2/gl2.h>
+-#elif __APPLE__
+-# include <OpenGL/gl.h>
+-# include <OpenGL/glu.h>
+ #else
+ # include <GL/gl.h>
+ # include <GL/glu.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150327/7db9b495/attachment.html>
More information about the macports-changes
mailing list