games/qjoypad: Fixed underlinking.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-23 17:19:55 +02:00 committed by Robby Workman
parent 732ce85caf
commit f7ece52bf8
1 changed files with 4 additions and 1 deletions

View File

@ -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,