libraries/GLUT compile on FreeBSD (patch incl)
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?
Trac metadata
Trac field |
Value |
Version |
None |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
libraries (other) |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|