3e4ed01146
- 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)
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
--- swlibs/include/make/3dfx.mak.orig Sun Nov 19 00:00:37 2000
|
|
+++ swlibs/include/make/3dfx.mak Tue Dec 5 05:44:13 2006
|
|
@@ -131,17 +131,13 @@
|
|
endif
|
|
|
|
ifeq "$(OS)" "FreeBSD"
|
|
-GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I/usr/X11R6/include
|
|
+GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I$(LOCALBASE)/include
|
|
GCOPTS = -Wall
|
|
-#
|
|
-# BIG_OPT Indicates O3(?) or better is being used. It changes the
|
|
-# assembly language in grDrawTriangle. Larger optimization removes
|
|
-# an extra push in the calling sequence.
|
|
-#
|
|
-CNODEBUG = -O6 -m486 -fomit-frame-pointer -funroll-loops \
|
|
- -fexpensive-optimizations -ffast-math -DBIG_OPT
|
|
|
|
-CDEBUG = -g -O
|
|
+# Set CNODEBUG and CDEBUG to nothing to respect CFLAGS
|
|
+
|
|
+CNODEBUG =
|
|
+CDEBUG =
|
|
# Profiling
|
|
#CDEBUG = -pg -g -O
|
|
#GCDEFS =
|
|
@@ -166,7 +162,7 @@
|
|
LCFLAGS = $(LCINCS) $(LCDEFS) $(LCOPTS)
|
|
VCFLAGS = $(VCINCS) $(VCDEFS) $(VCOPTS)
|
|
|
|
-CFLAGS = $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
|
|
+CFLAGS += $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
|
|
|
|
#--------------------------------------------------------------------------
|
|
# build up global linker flags (LDFLAGS) and libraries (LDLIBS)
|