[ ghc-Bugs-1177838 ] libraries/GLUT compile on FreeBSD (patch incl)
SourceForge.net
noreply at sourceforge.net
Wed Apr 6 11:18:45 EDT 2005
Bugs item #1177838, was opened at 2005-04-06 11:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1177838&group_id=8032
Category: libraries (other)
Group: None
Status: Open
Resolution: None
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?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1177838&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list