aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mesa-demos/files/config
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mesa-demos/files/config')
-rw-r--r--graphics/mesa-demos/files/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/mesa-demos/files/config b/graphics/mesa-demos/files/config
index 1b035a5dc8dd..a46afa0e1d7c 100644
--- a/graphics/mesa-demos/files/config
+++ b/graphics/mesa-demos/files/config
@@ -8,7 +8,7 @@
_CC := $(CC)
_CXX := $(CXX)
-_CFLAGS := -fPIC -pedantic -I$(X11BASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS) \
+_CFLAGS := -fPIC -pedantic -I$(LOCALBASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS) \
-DPTHREADS $(PTHREAD_CFLAGS)
_CXXFLAGS := -fPIC -pedantic $(CXXFLAGS)
@@ -24,7 +24,7 @@ CXXFLAGS = $(_CXXFLAGS)
GLUT_CFLAGS = -fexceptions
-LIB_DIR = $(X11BASE)/lib
+LIB_DIR = $(LOCALBASE)/lib
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm $(PTHREAD_LIBS)