diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-29 23:31:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-03 16:31:51 +0700 |
commit | ce1c5b174fb68e0b0b5a77aa5d6991d33b99dc82 (patch) | |
tree | 400f734c78a60687791b5ff40ca29e89cbfc831b /libraries/wxGTK3/wxGTK3.SlackBuild | |
parent | dab06882e7cb77e53f18d457b81beede8985ad13 (diff) |
libraries/wxGTK3: Make --enable-stl optional.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/wxGTK3/wxGTK3.SlackBuild')
-rw-r--r-- | libraries/wxGTK3/wxGTK3.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild index 513c44ffef3c..fda6fc98cac7 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 |