opnsense-ports/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
474 B
ObjectPascal

--- packages/opengl/src/glut.pp 2013-03-23 01:19:14.000000000 -0500
+++ packages/opengl/src/glut.pp 2013-03-23 01:22:47.000000000 -0500
@@ -765,13 +765,13 @@
{$ifdef darwin}
LoadGlut('/System/Library/Frameworks/GLUT.framework/GLUT');
{$else}
- {$IFDEF haiku}
+ {$if defined(haiku) or defined(freebsd)}
LoadGlut('libglut.so');
- {$ELSE}
+ {$else}
{$IFNDEF MORPHOS}
LoadGlut('libglut.so.3');
{$ENDIF}
- {$ENDIF}
+ {$endif}
{$endif}
{$ENDIF}