Ticket #343 (closed bug: Fixed)

Opened 8 years ago

Last modified 43 years ago

libraries/GLUT compile on FreeBSD (patch incl)

Reported by: thimsmith Owned by: nobody
Priority: normal Milestone:
Component: libraries (other) Version: None
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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?



Attachments

MySqlMain.2.cpp Download (12.0 KB) - added by thimsmith 8 years ago.
GLUT.2.diff Download (1.0 KB) - added by thimsmith 8 years ago.

Change History

Changed 8 years ago by thimsmith

Changed 8 years ago by thimsmith

Changed 8 years ago by spanne

  • status changed from assigned to closed
Logged In: YES 
user_id=50298

Well spotted. I've commited your changes to the HEAD and to
the STABLE branch.
Note: See TracTickets for help on using tickets.