aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mesa-demos/files
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-11-09 06:30:36 +0800
committeranholt <anholt@FreeBSD.org>2003-11-09 06:30:36 +0800
commit02691585be0f657ac20dfc145008106ed93baf73 (patch)
tree4d486ad3234e20600e81f99c636c6a9bd83b1a4e /graphics/mesa-demos/files
parentef25fe7b191e7d2500840af0132b0e4812b70c30 (diff)
downloadfreebsd-ports-gnome-02691585be0f657ac20dfc145008106ed93baf73.tar.gz
freebsd-ports-gnome-02691585be0f657ac20dfc145008106ed93baf73.tar.zst
freebsd-ports-gnome-02691585be0f657ac20dfc145008106ed93baf73.zip
Link mesa-demos against ${PTHREAD_LIBS}. Supposed to prevent crashing on
-stable. Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics/mesa-demos/files')
-rw-r--r--graphics/mesa-demos/files/patch-demos-Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/mesa-demos/files/patch-demos-Makefile b/graphics/mesa-demos/files/patch-demos-Makefile
index 52327335e027..6c3e48495d4b 100644
--- a/graphics/mesa-demos/files/patch-demos-Makefile
+++ b/graphics/mesa-demos/files/patch-demos-Makefile
@@ -5,13 +5,13 @@
LIBDIR = ../lib
-GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
-+GL_LIBS = -L$(X11BASE)/lib -lglut -lGLU -lGL $(APP_LIB_DEPS)
++GL_LIBS = -L$(X11BASE)/lib -lglut -lGLU -lGL $(APP_LIB_DEPS) ${PTHREAD_LIBS}
-OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
-+OSMESA_LIBS = -L$(X11BASE)/lib -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
++OSMESA_LIBS = -L$(X11BASE)/lib -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS) ${PTHREAD_LIBS}
LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
-+CFLAGS += -DGL_ARB_point_parameters=0
++CFLAGS += -DGL_ARB_point_parameters=0 ${PTHREAD_CFLAGS}
PROGS = bounce \
clearspd \