b971dd6c3c
This gains compatibility with X.Org 6.8, but breaks it with XFree86 4.4, so flip the IGNORE switch. Since there is no "install" target we can use, installation is done in do-install of port. For that we need the list of files to install which is conveniently used to generate plist, so static pkg-plist is dropped.
29 lines
674 B
Text
29 lines
674 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$(X11BASE)/include -DUSE_XSHM -DHZ=100 $(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 = $(X11BASE)/lib
|
|
|
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm
|
|
|