diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-26 02:24:56 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-28 07:26:17 +0700 |
commit | 18f50f202e9ef211b268638336629ba3504b37a9 (patch) | |
tree | 57818eb0b08dfb69d235afbc8a6a5495860a305a /games/glbsp/glbsp.SlackBuild | |
parent | 689873d2fadb635b34218b9831e9c6ddc6e9f790 (diff) |
games/glbsp: Fix compile issue.
Diffstat (limited to 'games/glbsp/glbsp.SlackBuild')
-rw-r--r-- | games/glbsp/glbsp.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild index 83129d89b85f..5c05572cb04b 100644 --- a/games/glbsp/glbsp.SlackBuild +++ b/games/glbsp/glbsp.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20151126 bkw: fix build for -current (preparing for 14.2) + PRGNAM=glbsp VERSION=${VERSION:-2.24} BUILD=${BUILD:-1} @@ -55,12 +57,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Use fltk-config --cflags and --ldflags instead of hardcoded values +patch -p1 < $CWD/fltkconf.diff + # Upstream doesn't build a shared lib, but we will by default. if [ "${STATIC:-no}" != "yes" ]; then patch -p1 < $CWD/dynamic_libglbsp.diff fi sed -i "s/-O2/$SLKCFLAGS/" Makefile.unx + make -f Makefile.unx make -f Makefile.unx install \ INSTALL_PREFIX=$PKG/usr \ |