1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Use -lGLU -lGL instead of -lMesaGLU -lMesaGL

This commit is contained in:
Eric Anholt 2003-11-06 23:11:51 +00:00
parent 6056e8f441
commit dbfbf66f0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93268
2 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= knightcap
PORTVERSION= 3.6
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/ \
ftp://ftp.cadvision.com/pub/linuxberg/files/x11/entertain/

View File

@ -1,5 +1,5 @@
--- Makefile.orig Mon May 18 08:09:21 1998
+++ Makefile Wed Aug 9 04:55:31 2000
--- Makefile.orig Sun May 17 16:09:21 1998
+++ Makefile Thu Nov 6 15:07:34 2003
@@ -2,11 +2,11 @@
# what C compiler? It better be Ansi-C. Use gcc if you have it.
@ -22,11 +22,12 @@
-GLUT = /usr/local/Mesa-2.1/glut-3.2
-X11 = /usr/X11R6
-GLUT_LIBS = -L$(GLUT)/lib/glut -lglut
-MESA_LIBS = -L$(MESA)/lib -lMesaGLU -lMesaGL -lm
+MESA = ${X11BASE}
+GLUT = ${X11BASE}
+X11 = ${X11BASE}
+GLUT_LIBS = -L$(GLUT)/lib -lglut
MESA_LIBS = -L$(MESA)/lib -lMesaGLU -lMesaGL -lm
+MESA_LIBS = -L$(MESA)/lib -lGLU -lGL -lm
XLIBS = -L$(X11)/lib -lXmu -lXt -lXext -lX11 -lXi
-DISPLAYFLAGS = -I$(MESA)/include -I$(GLUT) -DRENDERED_DISPLAY=1
+DISPLAYFLAGS = -I$(X11)/include -I$(MESA)/include -I$(GLUT)/include -DRENDERED_DISPLAY=1