summaryrefslogtreecommitdiff
path: root/libraries/wxGTK3
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wxGTK3')
-rw-r--r--libraries/wxGTK3/README3
-rw-r--r--libraries/wxGTK3/wxGTK3.SlackBuild11
2 files changed, 12 insertions, 2 deletions
diff --git a/libraries/wxGTK3/README b/libraries/wxGTK3/README
index 00dcc34803..a2a70b1f45 100644
--- a/libraries/wxGTK3/README
+++ b/libraries/wxGTK3/README
@@ -5,3 +5,6 @@ platform's controls and utilities.
wxGTK3 can be installed alongside with wxGTK.
webkitgtk3 is an optional dependency of this package.
+
+NOTE: this package is NOT built using --enable-stl by default.
+if you need to enable stl, use STL=yes ./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