summaryrefslogtreecommitdiff
path: root/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp
blob: 4a27d7479a78340b441e76834a9a2438b7c41647 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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}