mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Update to prboom 2.2.2 and respect CFLAGS
Reviewed by: maintainer
This commit is contained in:
parent
c852dd95c3
commit
50a80bb849
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49948
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= prboom
|
||||
PORTVERSION= 2.2.1
|
||||
PORTVERSION= 2.2.2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -23,7 +23,7 @@ SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
||||
CFLAGS="-I${LOCALBASE}/include" \
|
||||
CFLAGS+="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
MAN5= boom.cfg.5
|
||||
|
@ -1 +1 @@
|
||||
MD5 (prboom-2.2.1.tar.gz) = 9d8201e1aad27cd66a355a42a24ca2df
|
||||
MD5 (prboom-2.2.2.tar.gz) = 90becb895114ab04fbb0644751a3d80b
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.orig Sat Mar 31 12:50:28 2001
|
||||
+++ configure Sun Jun 10 16:41:12 2001
|
||||
@@ -920,9 +920,9 @@
|
||||
--- configure.orig Sat Sep 29 04:39:08 2001
|
||||
+++ configure Sat Nov 10 20:30:26 2001
|
||||
@@ -922,9 +922,9 @@
|
||||
|
||||
|
||||
if test "x$prefix" != xNONE; then
|
||||
@ -12,3 +12,44 @@
|
||||
fi
|
||||
cat >> confdefs.h <<EOF
|
||||
#define DOOMWADDIR "$DOOMWADDIR"
|
||||
@@ -1220,7 +1220,7 @@
|
||||
echo ' the source to insert the relevant pragmas so structures are packed.'
|
||||
fi
|
||||
|
||||
-CFLAGS_OPT="-O2 -fomit-frame-pointer"
|
||||
+CFLAGS_OPT="-fomit-frame-pointer"
|
||||
# Check whether --enable-debug or --disable-debug was given.
|
||||
if test "${enable_debug+set}" = set; then
|
||||
enableval="$enable_debug"
|
||||
@@ -1250,30 +1250,8 @@
|
||||
|
||||
|
||||
|
||||
-# Check whether --enable-cpu-opt or --disable-cpu-opt was given.
|
||||
-if test "${enable_cpu_opt+set}" = set; then
|
||||
- enableval="$enable_cpu_opt"
|
||||
-
|
||||
-CPU_CFLAGS=""
|
||||
-
|
||||
-else
|
||||
-
|
||||
-case "$target" in
|
||||
- # marginal gains from aligning code
|
||||
-i386-*) CPU_CFLAGS="-m386" ;;
|
||||
-i486-*) CPU_CFLAGS="-m486" ;;
|
||||
- # nothing special for pentium
|
||||
- # CMOV op on ppro/II/686 can help us
|
||||
-i686-*) CPU_CFLAGS="-mcpu=i686 -march=i686" ;;
|
||||
-esac
|
||||
-
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
NEW_CFLAGS="$CFLAGS"
|
||||
-for ac_flag in -Wall -Winline -Wwrite-strings -ffast-math $CFLAGS_OPT $CPU_CFLAGS
|
||||
+for ac_flag in -Wall -Winline -Wwrite-strings -ffast-math $CFLAGS_OPT
|
||||
do
|
||||
echo $ac_n "checking whether compiler supports $ac_flag""... $ac_c" 1>&6
|
||||
echo "configure:1280: checking whether compiler supports $ac_flag" >&5
|
||||
|
Loading…
Reference in New Issue
Block a user