summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/gleyes/Makefile6
-rw-r--r--games/gleyes/files/patch-aa14
2 files changed, 12 insertions, 8 deletions
diff --git a/games/gleyes/Makefile b/games/gleyes/Makefile
index d9387e0f94d7..337d1fda5963 100644
--- a/games/gleyes/Makefile
+++ b/games/gleyes/Makefile
@@ -7,9 +7,10 @@
PORTNAME= gleyes
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.kddlabs.co.jp/.1/X11/acontrib/gleyes/ \
- ftp://ftp.riken.go.jp/pub/X11/acontrib/gleyes/ \
+MASTER_SITES= ftp://ftp.riken.go.jp/pub/X11/acontrib/gleyes/ \
+ ftp://ftp.kddlabs.co.jp/.1/X11/acontrib/gleyes/ \
ftp://ftp.cit.nepean.uws.edu.au/unix/X/graphics/
# initial distribution location was http://puma.inf.ufpr.br/~claudio/gleyes/
# which is unresponsive since about 21.12.1998
@@ -18,6 +19,7 @@ MAINTAINER= malte.lance@gmx.net
USE_X_PREFIX= yes
USE_MESA= yes
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN1= gleyes.1
diff --git a/games/gleyes/files/patch-aa b/games/gleyes/files/patch-aa
index 527de015ab80..55c475801e18 100644
--- a/games/gleyes/files/patch-aa
+++ b/games/gleyes/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Wed Oct 14 01:16:35 1998
-+++ Makefile Wed Aug 9 04:33:59 2000
-@@ -5,8 +5,8 @@
+--- Makefile.orig Tue Oct 13 12:16:35 1998
++++ Makefile Mon Jun 11 10:52:15 2001
+@@ -5,21 +5,23 @@
#--------------------------------------------------------------------------
# Where you want to have it installed
@@ -11,8 +11,10 @@
# Use these for Mesa
#GL = -lglut -lMesaGLU -lMesaGL
-@@ -15,11 +15,13 @@
- GL = -lglut -lGLU -lGL
+
+ # Use these for OpenGL
+-GL = -lglut -lGLU -lGL
++GL = -lglut -lGLU -lGL ${PTHREAD_LIBS}
# Use these for gcc on Linux (may work in other systems as well)
-CC = gcc
@@ -21,7 +23,7 @@
+CC ?= gcc
+CFLAGS ?= -pipe -O2 -fexpensive-optimizations -ffast-math -fomit-frame-pointer \
+ -fforce-mem -fforce-addr
-+CFLAGS += -I${X11BASE}/include
++CFLAGS += -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LD = $(CC)
LDFLAGS = -o $@
-LIBS = -L/usr/X11/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm