diff options
Diffstat (limited to 'libraries/poco/poco.SlackBuild')
-rw-r--r-- | libraries/poco/poco.SlackBuild | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/libraries/poco/poco.SlackBuild b/libraries/poco/poco.SlackBuild index d215d2a60c..f941dbb2b7 100644 --- a/libraries/poco/poco.SlackBuild +++ b/libraries/poco/poco.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for poco -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 29-DEC-2022: new maintainer, Edward W. Koenig (kingbeowulf) + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=poco -VERSION=${VERSION:-1.9.4} +VERSION=${VERSION:-1.12.5} EDITION=all BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -47,6 +49,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +# Make optionally detected components really optional as they are in +# CMAKE build configuration upstream. +if [ ${POSTGRESQL:-no} = "no" ]; then + NOPOSTGRESQL="--omit=Data/PostgreSQL" +else + NOPOSTGRESQL="" +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -84,10 +94,15 @@ if [ "$ARCH" = "x86_64" ]; then patch -p1 < $CWD/poco_x64.patch fi +# Slackware ships with MariaDB not MySQL, patch from Arch Linux +patch -p1 < $CWD/poco_mariadb.patch + ./configure \ --prefix=/usr \ --no-tests \ --no-samples \ + $NOPOSTGRESQL \ + --sqlite-thread-safe=2 \ --shared make |