aboutsummaryrefslogtreecommitdiffstats
path: root/games/gleyes
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-06-18 02:15:29 +0800
committersteve <steve@FreeBSD.org>2001-06-18 02:15:29 +0800
commitd528506d2ef9fadd61611a2384bf3844b3b16f9b (patch)
tree7d1f4f5a84c2cdc651fcdf264664470e2c382560 /games/gleyes
parenta64526e675253d23c82ff7fffb42555322cb51f6 (diff)
downloadfreebsd-ports-gnome-d528506d2ef9fadd61611a2384bf3844b3b16f9b.tar.gz
freebsd-ports-gnome-d528506d2ef9fadd61611a2384bf3844b3b16f9b.tar.zst
freebsd-ports-gnome-d528506d2ef9fadd61611a2384bf3844b3b16f9b.zip
- Add ${PTHREAD_LIBS} and ${PTHREAD_CFLAGS} to fix compile errors
- Put the active links in MASTER_SITES at the top PR: 28074 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games/gleyes')
-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