summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Matteo Bernardini2012-09-23 17:19:55 +0200
committer Robby Workman2012-09-25 05:53:29 +0200
commitf7ece52bf84baa6b9a65b7228c214e07e0805435 (patch)
tree47b1181f187949299bf771efd745a6f15fbe6091 /games
parent732ce85caf286cd0fccf1f3531dbc46678c65c01 (diff)
downloadslackbuilds-f7ece52bf84baa6b9a65b7228c214e07e0805435.tar.gz
games/qjoypad: Fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/qjoypad/qjoypad.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/qjoypad/qjoypad.SlackBuild b/games/qjoypad/qjoypad.SlackBuild
index 9e1ea7b75e..9bb0bc2711 100644
--- a/games/qjoypad/qjoypad.SlackBuild
+++ b/games/qjoypad/qjoypad.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=qjoypad
VERSION=${VERSION:-4.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -53,6 +53,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix underlinking
+sed -i "s|-lXtst|-lXtst -lX11|" src/qjoypad.pro
+
cd src
# make install does not support DESTDIR,