diff options
author | kris <kris@FreeBSD.org> | 2001-11-12 07:20:02 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-11-12 07:20:02 +0800 |
commit | 275b4bc4f4ff6bf359937cb961dddf2dfcacea0f (patch) | |
tree | ac0fb7882f8389f41469ebbd52b4dea20f23be58 /games/prboom | |
parent | a9d6b7f72ce1a2a892d5804f965796378311cc41 (diff) | |
download | freebsd-ports-gnome-275b4bc4f4ff6bf359937cb961dddf2dfcacea0f.tar.gz freebsd-ports-gnome-275b4bc4f4ff6bf359937cb961dddf2dfcacea0f.tar.zst freebsd-ports-gnome-275b4bc4f4ff6bf359937cb961dddf2dfcacea0f.zip |
Update to prboom 2.2.2 and respect CFLAGS
Reviewed by: maintainer
Diffstat (limited to 'games/prboom')
-rw-r--r-- | games/prboom/Makefile | 4 | ||||
-rw-r--r-- | games/prboom/distinfo | 2 | ||||
-rw-r--r-- | games/prboom/files/patch-configure | 47 |
3 files changed, 47 insertions, 6 deletions
diff --git a/games/prboom/Makefile b/games/prboom/Makefile index 35112bbfdf86..cedb2f13683c 100644 --- a/games/prboom/Makefile +++ b/games/prboom/Makefile @@ -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 diff --git a/games/prboom/distinfo b/games/prboom/distinfo index 7fc2d75f1d54..6b8f36a6722b 100644 --- a/games/prboom/distinfo +++ b/games/prboom/distinfo @@ -1 +1 @@ -MD5 (prboom-2.2.1.tar.gz) = 9d8201e1aad27cd66a355a42a24ca2df +MD5 (prboom-2.2.2.tar.gz) = 90becb895114ab04fbb0644751a3d80b diff --git a/games/prboom/files/patch-configure b/games/prboom/files/patch-configure index 4c89c7c17a31..cda1ea5e866b 100644 --- a/games/prboom/files/patch-configure +++ b/games/prboom/files/patch-configure @@ -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 |