aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/libGLw/Makefile1
-rw-r--r--graphics/libGLw/files/config4
2 files changed, 2 insertions, 3 deletions
diff --git a/graphics/libGLw/Makefile b/graphics/libGLw/Makefile
index 3360d06d6c08..4d613a062ac3 100644
--- a/graphics/libGLw/Makefile
+++ b/graphics/libGLw/Makefile
@@ -23,7 +23,6 @@ USE_BZIP2= yes
USE_LDCONFIG= yes
USE_XORG= xt
USE_GL= gl
-CFLAGS+= -D__GLX_MOTIF=1
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}/src/glw/
diff --git a/graphics/libGLw/files/config b/graphics/libGLw/files/config
index 4a3f497b1261..c586636adcf0 100644
--- a/graphics/libGLw/files/config
+++ b/graphics/libGLw/files/config
@@ -1,6 +1,6 @@
# Configuration for mesa-demos port for FreeBSD
# Taken from Mesa CVS mesa/Mesa/configs/freebsd Rev 1.2
-# $FreeBSD: /tmp/pcvs/ports/graphics/libGLw/files/Attic/config,v 1.1 2007-05-19 20:09:45 flz Exp $
+# $FreeBSD: /tmp/pcvs/ports/graphics/libGLw/files/Attic/config,v 1.2 2007-07-30 07:49:42 pav Exp $
#
# Set and remember $CFLAGS, $CXXFLAGS, $CC and $CXX before they are
@@ -8,7 +8,7 @@
_CC := $(CC)
_CXX := $(CXX)
-_CFLAGS := -fPIC -pedantic -I$(X11BASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS)
+_CFLAGS := -fPIC -pedantic -I$(X11BASE)/include -DUSE_XSHM -DHZ=100 -D__GLX_MOTIF=1 $(CFLAGS)
_CXXFLAGS := -fPIC -pedantic $(CXXFLAGS)
include $(TOP)/configs/default