games/glestae: Fix build when wxGTK3 installed.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-09-06 15:37:12 -04:00 committed by Willy Sudiarto Raharjo
parent a46f997ee7
commit 625dcba314
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 5 additions and 1 deletions

View File

@ -22,9 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20200906 bkw: modified by SlackBuilds.org: the build was failing if
# wxGTK3 was installed, due to the /usr/bin/wx-config conflict.
PRGNAM=glestae
VERSION=${VERSION:-0.3.93}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -77,6 +80,7 @@ patch -p1 < $CWD/gcc-4.7.patch
mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-DwxWidgets_CONFIG_OPTIONS="--version=2.8" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \