[102865] trunk/dports

Jeremy Huddleston Sequoia jeremyhu at macports.org
Sat Feb 9 17:32:10 PST 2013


On Feb 9, 2013, at 12:51, Joshua Root <jmr at macports.org> wrote:

>> Revision: 102865
>>          https://trac.macports.org/changeset/102865
>> Author:   jeremyhu at macports.org
>> Date:     2013-02-09 11:16:59 -0800 (Sat, 09 Feb 2013)
>> Log Message:
>> -----------
>> tiff: Update to version 4.0.3 and revbump dependents
> 
> tiff is failing to build on at least the Lion buildslave:
> 
> tiffgt.c:38:11: fatal error: 'GL/gl.h' file not found

It seems they went through the trouble of having configure set HAVE_OPENGL_GL_H and HAVE_GL_GL_H only to not even use the results:

#if HAVE_APPLE_OPENGL_FRAMEWORK
# include <OpenGL/gl.h>
# include <GLUT/glut.h>
#else
# include <GL/gl.h>
# include <GL/glut.h>
#endif

r102868 should fix that with:

+# tools/tiffgt.c incorrectly uses HAVE_APPLE_OPENGL_FRAMEWORK rather than HAVE_OPENGL_GL_H
+configure.cppflags-append -DHAVE_APPLE_OPENGL_FRAMEWORK
+



More information about the macports-dev mailing list