aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-05-23 11:24:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-05-23 11:24:28 +0800
commit421b52bb10fe54c4f71e332c63bd563255390dfd (patch)
tree386fc4b060243a01cd385e59af3b312fd8724e33
parent154a1a996d90cd3a602c227b816a46b93745da36 (diff)
downloadfreebsd-ports-gnome-421b52bb10fe54c4f71e332c63bd563255390dfd.tar.gz
freebsd-ports-gnome-421b52bb10fe54c4f71e332c63bd563255390dfd.tar.zst
freebsd-ports-gnome-421b52bb10fe54c4f71e332c63bd563255390dfd.zip
- Fix glut library version
PR: 176749 Submitted by: myself Approved by: acm (maintainer via private email)
-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}
+