summaryrefslogtreecommitdiffstats
path: root/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GraphicsMagick/GraphicsMagick.SlackBuild')
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 8fabfa69ec..feb36b8dfc 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -2,12 +2,15 @@
# Slackware build script for GraphicsMagick
-# Originally written by Giovanne Castro <giovannefc@terra.com.br>
+# Originally written by Giovanne Castro <email removed>.
# Updated by B. Watson <yalhcru@gmail.com>, as the original author is
# MIA. Original version had no license; I'm licensing the update under the
# terms of the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20171219 bkw:
+# - updated for v1.3.27, added last few missing delegates
+
# 20170708 bkw:
# - updated for v1.3.26
@@ -25,7 +28,7 @@
# - document optional deps in README
PRGNAM=GraphicsMagick
-VERSION=${VERSION:-1.3.26}
+VERSION=${VERSION:-1.3.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +74,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# libfpx isn't autodetected, so let's help it a bit:
+if [ -e /usr/include/fpxlib.h ]; then
+ FPXOPT=yes
+else
+ FPXOPT=no
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,6 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared \
--with-perl \
--with-quantum-depth=16 \
+ --with-fpx=$FPXOPT \
--build=$ARCH-slackware-linux
make INSTALLDIRS=vendor