View | Details | Raw Unified | Return to bug 28074
Collapse All | Expand All

(-)gleyes/Makefile (-2 / +3 lines)
Lines 8-15 Link Here
8
PORTNAME=	gleyes
8
PORTNAME=	gleyes
9
PORTVERSION=	0.2
9
PORTVERSION=	0.2
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	ftp://ftp.kddlabs.co.jp/.1/X11/acontrib/gleyes/ \
11
MASTER_SITES=	ftp://ftp.riken.go.jp/pub/X11/acontrib/gleyes/ \
12
		ftp://ftp.riken.go.jp/pub/X11/acontrib/gleyes/ \
12
		ftp://ftp.kddlabs.co.jp/.1/X11/acontrib/gleyes/ \
13
		ftp://ftp.cit.nepean.uws.edu.au/unix/X/graphics/
13
		ftp://ftp.cit.nepean.uws.edu.au/unix/X/graphics/
14
# initial distribution location was http://puma.inf.ufpr.br/~claudio/gleyes/
14
# initial distribution location was http://puma.inf.ufpr.br/~claudio/gleyes/
15
# which is unresponsive since about 21.12.1998
15
# which is unresponsive since about 21.12.1998
Lines 18-23 Link Here
18
18
19
USE_X_PREFIX=	yes
19
USE_X_PREFIX=	yes
20
USE_MESA=	yes
20
USE_MESA=	yes
21
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
21
22
22
MAN1=		gleyes.1
23
MAN1=		gleyes.1
23
24
(-)gleyes/files/patch-aa (-6 / +8 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	Wed Oct 14 01:16:35 1998
1
--- Makefile.orig	Tue Oct 13 12:16:35 1998
2
+++ Makefile	Wed Aug  9 04:33:59 2000
2
+++ Makefile	Mon Jun 11 10:52:15 2001
3
@@ -5,8 +5,8 @@
3
@@ -5,21 +5,23 @@
4
 #--------------------------------------------------------------------------
4
 #--------------------------------------------------------------------------
5
 
5
 
6
 # Where you want to have it installed
6
 # Where you want to have it installed
Lines 11-18 Link Here
11
 
11
 
12
 # Use these for Mesa
12
 # Use these for Mesa
13
 #GL	= -lglut -lMesaGLU -lMesaGL
13
 #GL	= -lglut -lMesaGLU -lMesaGL
14
@@ -15,11 +15,13 @@
14
 
15
 GL	= -lglut -lGLU -lGL
15
 # Use these for OpenGL
16
-GL	= -lglut -lGLU -lGL
17
+GL	= -lglut -lGLU -lGL ${PTHREAD_LIBS}
16
 
18
 
17
 # Use these for gcc on Linux (may work in other systems as well)
19
 # Use these for gcc on Linux (may work in other systems as well)
18
-CC	= gcc
20
-CC	= gcc
Lines 21-27 Link Here
21
+CC	?= gcc
23
+CC	?= gcc
22
+CFLAGS	?= -pipe -O2 -fexpensive-optimizations -ffast-math -fomit-frame-pointer \
24
+CFLAGS	?= -pipe -O2 -fexpensive-optimizations -ffast-math -fomit-frame-pointer \
23
+	  -fforce-mem -fforce-addr
25
+	  -fforce-mem -fforce-addr
24
+CFLAGS	+= -I${X11BASE}/include
26
+CFLAGS	+= -I${X11BASE}/include ${PTHREAD_CFLAGS}
25
+LD	= $(CC)
27
+LD	= $(CC)
26
 LDFLAGS	= -o $@
28
 LDFLAGS	= -o $@
27
-LIBS	= -L/usr/X11/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
29
-LIBS	= -L/usr/X11/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm

Return to bug 28074