Bugs item #1177838, was opened at 2005-04-06 17:18 Message generated for change (Comment added) made by spanne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1177838&group_id=8032
Category: libraries (other) Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Tim Smith (thimsmith) Assigned to: Nobody/Anonymous (nobody) Summary: libraries/GLUT compile on FreeBSD (patch incl) Initial Comment: 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? ---------------------------------------------------------------------- >Comment By: Sven Panne (spanne) Date: 2005-04-17 15:07 Message: Logged In: YES user_id=50298 Well spotted. I've commited your changes to the HEAD and to the STABLE branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1177838&group_id=8032 _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs