summaryrefslogtreecommitdiff
path: root/graphics/MesaDemos/patches/patch-ac
blob: 6c94502a8612edf92ed9228fa2fbb039cf5db6c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ac,v 1.2 2003/03/09 19:04:53 jschauma Exp $

--- samples/Makefile.X11.orig	Tue Feb 15 20:09:06 2000
+++ samples/Makefile.X11	Sat Mar  8 19:00:44 2003
@@ -9,15 +9,15 @@
 
 ##### MACROS #####
 
-INCDIR = ../include
-LIBDIR = ../lib
+INCDIR = ${X11PREFIX}/include
+LIBDIR = ${X11PREFIX}/lib
 
-GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
+GL_LIBS = ${LDFLAGS} -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
 
 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
 
 PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
-	font line logo nurb oglinfo olympic overlay point prim quad select \
+	font line logo nurb olympic overlay point prim quad select \
 	shape sphere star stencil stretch texture tri wave