games/glbsp: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-06-21 12:23:06 -04:00 committed by Willy Sudiarto Raharjo
parent 9ea897dbe3
commit dc6f889ba9

View file

@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20170621 bkw: fix build for -current (post-14.2)
# 20151126 bkw: fix build for -current (preparing for 14.2)
PRGNAM=glbsp
@ -67,6 +68,9 @@ fi
sed -i "s/-O2/$SLKCFLAGS/" Makefile.unx
# Fix build on gcc7
sed -i 's,return *false,return 0,' nodeview/path.cc
make -f Makefile.unx
make -f Makefile.unx install \
INSTALL_PREFIX=$PKG/usr \