games/stella: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-06-20 22:55:41 -04:00 committed by Willy Sudiarto Raharjo
parent 3a16383979
commit 430e2cfd4c
1 changed files with 21 additions and 12 deletions

View File

@ -6,7 +6,23 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# Modified by B. Watson <yalhcru@gmail.com>
# Now maintained by B. Watson <yalhcru@gmail.com>
# 20170620 bkw:
# - fix for -current (does no harm on 14.2).
# - invert changelog so oldest entries are at bottom.
# 20170122 bkw: update for 4.7.3
# 20160804 bkw: update for 4.7.2
# 20150509 bkw: update for 4.6.1
# 20150322 bkw:
# - update for 4.6
# - replace stale stella 3.8 man page from Debian with updated one for 4.6.
# - get rid of unused --libdir configure option
# 20140915 bkw:
# - took over maintenance
# - update for 4.1.1
@ -17,17 +33,6 @@
# - add MIME type for .a26
# - StartupNotify=false in .desktop
# 20150322 bkw:
# - update for 4.6
# - replace stale stella 3.8 man page from Debian with updated one for 4.6.
# - get rid of unused --libdir configure option
# 20150509 bkw: update for 4.6.1
# 20160804 bkw: update for 4.7.2
# 20170122 bkw: update for 4.7.3
PRGNAM=stella
VERSION=${VERSION:-4.7.3}
BUILD=${BUILD:-1}
@ -75,6 +80,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# 20170620 bkw: configure checks for gcc 4.7, 5.x, or 6.x. Fails on -current
# because we have 7.x.
sed -i 's,\[5-6\],[5-9],g' configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \