From ce1c5b174fb68e0b0b5a77aa5d6991d33b99dc82 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 29 Jul 2014 23:31:50 +0700 Subject: libraries/wxGTK3: Make --enable-stl optional. Signed-off-by: Willy Sudiarto Raharjo --- libraries/wxGTK3/wxGTK3.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'libraries/wxGTK3/wxGTK3.SlackBuild') diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild index 513c44ffef..fda6fc98ca 100644 --- a/libraries/wxGTK3/wxGTK3.SlackBuild +++ b/libraries/wxGTK3/wxGTK3.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=wxGTK3 VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=wxWidgets @@ -58,6 +58,13 @@ fi set -e +# Check for STL +if [ "${STL:-no}" = "yes" ]; then + stl="--enable-stl" +else + stl="" +fi + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -82,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-opengl \ --enable-graphics_ctx \ --with-gtk=3 \ - --enable-stl \ + $stl \ --build=$ARCH-slackware-linux make -- cgit v1.2.3