freebsd-ports/graphics/mesa-demos/files/config
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

30 lines
726 B
Text

# Configuration for mesa-demos port for FreeBSD
# Taken from Mesa CVS mesa/Mesa/configs/freebsd Rev 1.2
# $FreeBSD$
#
# Set and remember $CFLAGS, $CXXFLAGS, $CC and $CXX before they are
# overriden in default include
_CC := $(CC)
_CXX := $(CXX)
_CFLAGS := -fPIC -pedantic -I$(LOCALBASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS) \
-DPTHREADS $(PTHREAD_CFLAGS)
_CXXFLAGS := -fPIC -pedantic $(CXXFLAGS)
include $(TOP)/configs/default
CONFIG_NAME = FreeBSD
# Now reset compiler and flags
CC = $(_CC)
CXX = $(_CXX)
CFLAGS = $(_CFLAGS)
CXXFLAGS = $(_CXXFLAGS)
GLUT_CFLAGS = -fexceptions
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)