summaryrefslogtreecommitdiff
path: root/games/gnubg/gnubg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnubg/gnubg.SlackBuild')
-rw-r--r--games/gnubg/gnubg.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild
index d788b830e8..a11efb4e89 100644
--- a/games/gnubg/gnubg.SlackBuild
+++ b/games/gnubg/gnubg.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for GNU Backgammon
-# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2012 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnubg
-VERSION=0.90.0
-SRCVER=20110906
+VERSION=${VERSION:-0.90.0}
+SRCVER=${SRCVER:-20120116}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,7 @@ chmod -R u+w,go+r-w,a-s .
./autogen.sh
+LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \