freebsd-ports/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp
John Marino f01cba6e50 FPC ecosystem: Upgrade version 2.6.4 => 3.0.0
This is the first major release of FreePascal in nearly four years.
There are a ton of new features, way more to list here. see:
http://wiki.freepascal.org/FPC_New_Features_3.0

Several new unit ports were added, some were contracted.  Most of
those were absorbed into the main FPC packages, but two units are
no longer supported: sndfile and matroshka.

All 99 remaining ports (including Lazarus ports) were build tested
on FreeBSD i386 and amd64 Release 10.2
2015-12-05 23:29:36 +00:00

11 lines
376 B
ObjectPascal

--- packages/opengl/src/glut.pp.orig 2015-01-05 19:27:06.000000000 +0000
+++ packages/opengl/src/glut.pp
@@ -768,7 +768,7 @@ initialization
{$ifdef darwin}
LoadGlut('/System/Library/Frameworks/GLUT.framework/GLUT');
{$else}
- {$IFDEF haiku}
+ {$if defined(haiku) or defined(freebsd) or defined(dragonfly)}
LoadGlut('libglut.so');
{$ELSE}
{$IFNDEF MORPHOS}