Ticket #343 (closed bug: Fixed)
libraries/GLUT compile on FreeBSD (patch incl)
|Reported by:||thimsmith||Owned by:||nobody|
|Type of failure:||Difficulty:|
|Test Case:||Blocked By:|
Hi! I worked tonight on getting GLUT to compile. I'm using FreeBSD 5-STABLE, and this is with the CVS version of ghc. First, GLUT/aclocal.m4 had to be patched so that GL/glut.h could be found (/usr/X11R6/include isn't in the default search path on FreeBSD). If this check fails, it gets cached and later checks for the same header will fail, even though CPPFLAGS might include X_CFLAGS at that point. Next, GLUT/cbits/Makefile needed to include ../config.mk, and needed to set PACKAGE= (a hack I copied from OpenGL/cbits/Makefile). I don't know why that works, but it does. I've attached the diff for those files. What's the best way to get them committed?
Note: See TracTickets for help on using tickets.