aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-10-26 19:30:27 +0800
committerdanfe <danfe@FreeBSD.org>2005-10-26 19:30:27 +0800
commit32519c1144c9031c1bf4524cbd1038c28be00805 (patch)
tree8240ee5cd4d0ff4dd0400dffa5b99ecf74f4b978 /games
parent9167de636955e049d358cc72d61f28cf2dc727d9 (diff)
downloadfreebsd-ports-gnome-32519c1144c9031c1bf4524cbd1038c28be00805.tar.gz
freebsd-ports-gnome-32519c1144c9031c1bf4524cbd1038c28be00805.tar.zst
freebsd-ports-gnome-32519c1144c9031c1bf4524cbd1038c28be00805.zip
Remove controversial and GCC version-specific optimization options.
Diffstat (limited to 'games')
-rw-r--r--games/mvdsv/Makefile19
-rw-r--r--games/mvdsv/files/Makefile5
2 files changed, 1 insertions, 23 deletions
diff --git a/games/mvdsv/Makefile b/games/mvdsv/Makefile
index 836e044d3707..eca575a760fe 100644
--- a/games/mvdsv/Makefile
+++ b/games/mvdsv/Makefile
@@ -19,25 +19,8 @@ COMMENT?= Enhanced QuakeWorld server with multi-view demos capability
USE_BZIP2= yes
-.include <bsd.port.pre.mk>
-
-.if defined(GCCVERSION)
-. if ${GCCVERSION} < 030000
-GCC_VER= 2
-. else
-GCC_VER= 3
-. endif
-.else
-. if ${OSVERSION} < 500035
-GCC_VER= 2
-. else
-GCC_VER= 3
-. endif
-.endif
-
MAKEFILE= ${FILESDIR}/Makefile
ALL_TARGET= ${PORTNAME}
-MAKE_ARGS+= GCC_VER=${GCC_VER}
PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/mvdsv_${PORTVERSION}/source
@@ -53,4 +36,4 @@ pre-everything::
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/mvdsv/files/Makefile b/games/mvdsv/files/Makefile
index 501c08f56dd7..d97059275eb4 100644
--- a/games/mvdsv/files/Makefile
+++ b/games/mvdsv/files/Makefile
@@ -20,11 +20,6 @@ DO_CFLAGS += -Did386
.if defined(WITH_OPTIMIZED_CFLAGS)
DO_CFLAGS += -O9 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
-. if ${GCC_VER} == 2
-DO_CFLAGS += -malign-loops=2 -malign-jumps=2 -malign-functions=2
-. elif ${GCC_VER} == 3
-DO_CFLAGS += -falign-loops=2 -falign-jumps=2 -falign-functions=2
-. endif
.endif
########################################################################