aboutsummaryrefslogtreecommitdiffstats
path: root/games/bzflag/files
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2001-03-29 02:55:46 +0800
committernsayer <nsayer@FreeBSD.org>2001-03-29 02:55:46 +0800
commit9e54984249b8a785915018ee2968651b10ecd730 (patch)
treefa3cfcee5d34e0d03df74f3f65731dd9142369b1 /games/bzflag/files
parentf9cbac90bec3bf2b13e2e62b334dc360a191d9cf (diff)
downloadfreebsd-ports-gnome-9e54984249b8a785915018ee2968651b10ecd730.tar.gz
freebsd-ports-gnome-9e54984249b8a785915018ee2968651b10ecd730.tar.zst
freebsd-ports-gnome-9e54984249b8a785915018ee2968651b10ecd730.zip
Respect CFLAGS, CXXFLAGS and PREFIX
Diffstat (limited to 'games/bzflag/files')
-rw-r--r--games/bzflag/files/config-sys8
-rw-r--r--games/bzflag/files/patch-Make-common24
2 files changed, 25 insertions, 7 deletions
diff --git a/games/bzflag/files/config-sys b/games/bzflag/files/config-sys
index acfee53f5402..79c37be6b38d 100644
--- a/games/bzflag/files/config-sys
+++ b/games/bzflag/files/config-sys
@@ -10,7 +10,7 @@
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
-# configuration for generic linux
+# configuration for generic FreeBSD
#
CONFIG = linux
@@ -23,7 +23,7 @@ XF86VIDMODE_LIB = -lXxf86vm
#
# install locations
#
-INSTALL_DATA_DIR = ${PORTPREFIX}/share/bzflag/data
+INSTALL_DATA_DIR = ${PREFIX}/share/bzflag/data
#
# tools
@@ -52,8 +52,8 @@ PCXXDEFS = $(XF86VIDMODE_DEF)
#
PCOPTS = -Wall -W -ansi $(ACOPTS)
PCXXOPTS = -Wall -W -fno-exceptions -fno-rtti $(ACXXOPTS)
-COPT = -DNDEBUG ${PORTCFLAGS}
-CXXOPT = -DNDEBUG ${PORTCXXFLAGS} -ffast-math -fomit-frame-pointer \
+COPT = -DNDEBUG
+CXXOPT = -DNDEBUG -ffast-math -fomit-frame-pointer \
-fnonnull-objects -fexpensive-optimizations
CDEBUG = -DDEBUG -g
CXXDEBUG = -DDEBUG -g
diff --git a/games/bzflag/files/patch-Make-common b/games/bzflag/files/patch-Make-common
index dcc937caa9e0..1d6346bc6c66 100644
--- a/games/bzflag/files/patch-Make-common
+++ b/games/bzflag/files/patch-Make-common
@@ -1,6 +1,24 @@
---- Make-common.orig Sat Mar 24 02:21:48 2001
-+++ Make-common Sat Mar 24 02:13:00 2001
-@@ -169,13 +169,13 @@
+--- Make-common.orig Tue Feb 13 00:50:39 2001
++++ Make-common Wed Mar 28 10:50:04 2001
+@@ -33,7 +33,7 @@
+ #
+ # C options
+ #
+-CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF)
++CFLAGS += $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF)
+ LCFLAGS = $(LCDEFS) $(LCINCS) $(LCOPTS)
+ PCFLAGS = $(PCDEFS) $(PCINCS) $(PCOPTS)
+ GCFLAGS = $(GCDEFS) $(GCINCS) $(GCOPTS)
+@@ -51,7 +51,7 @@
+ #
+ # C++ options
+ #
+-CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF)
++CXXFLAGS += $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF)
+ LCXXFLAGS = $(LCXXDEFS) $(LCXXINCS) $(LCXXOPTS)
+ PCXXFLAGS = $(PCXXDEFS) $(PCXXINCS) $(PCXXOPTS)
+ GCXXFLAGS = $(GCXXDEFS) $(GCXXINCS) $(GCXXOPTS)
+@@ -167,13 +167,13 @@
#
# default to optimized build
#