aboutsummaryrefslogtreecommitdiff
path: root/graphics/fpc-opengl
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 03:24:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 03:24:28 +0000
commit2282bbe5ea403b6eff560c4cfb3505ae66ea94a3 (patch)
tree386fc4b060243a01cd385e59af3b312fd8724e33 /graphics/fpc-opengl
parent265ce40f64be474c84027aa97156fd90d52723b9 (diff)
downloadports-2282bbe5ea403b6eff560c4cfb3505ae66ea94a3.tar.gz
ports-2282bbe5ea403b6eff560c4cfb3505ae66ea94a3.zip
Notes
Diffstat (limited to 'graphics/fpc-opengl')
-rw-r--r--graphics/fpc-opengl/Makefile2
-rw-r--r--graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp19
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/fpc-opengl/Makefile b/graphics/fpc-opengl/Makefile
index 2e613343ba01..7951d672c156 100644
--- a/graphics/fpc-opengl/Makefile
+++ b/graphics/fpc-opengl/Makefile
@@ -1,7 +1,7 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -opengl
diff --git a/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp b/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp
new file mode 100644
index 000000000000..07e43aa21892
--- /dev/null
+++ b/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp
@@ -0,0 +1,19 @@
+--- 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}
+