summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-20 23:20:03 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:47 +0700
commitba72e39924b18e60748837b08a99ce0c1ba1a57a (patch)
tree06472770a8eb4fedd927d604ece4de5922bf6653
parent2215904e4cbb31954d6e8fbdf96d8cb7520bb074 (diff)
downloadslackbuilds-ba72e39924b18e60748837b08a99ce0c1ba1a57a.tar.gz
games/opentyrian: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--games/opentyrian/opentyrian.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/opentyrian/opentyrian.SlackBuild b/games/opentyrian/opentyrian.SlackBuild
index 5202bab3b5..156e6a54ea 100644
--- a/games/opentyrian/opentyrian.SlackBuild
+++ b/games/opentyrian/opentyrian.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170620 bkw: fix compile on -current (still works fine on 14.2)
+
PRGNAM=opentyrian
VERSION=${VERSION:-2.1.20130907}
BUILD=${BUILD:-1}
@@ -66,6 +68,7 @@ mkdir -p \
$PKG/install
sed -i "s,-g0,$SLKCFLAGS," Makefile
+sed -i "s,-g3.*\$,$SLKCFLAGS," Makefile
make
install -s $PRGNAM $PKG/usr/games