summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 687f4d3f31..fbc6261121 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -15,6 +15,9 @@
# - build Tcl bindings (TclMagick)
# - document optional deps in README
+# 20151127 bkw:
+# - fix build on -current, in anticipation of 14.2
+
PRGNAM=GraphicsMagick
VERSION=${VERSION:-1.3.21}
BUILD=${BUILD:-1}
@@ -100,7 +103,9 @@ sed -i \
-e "/magick_LDFLAGS/s,=',&-L$PKG/usr/lib$LIBDIRSUFFIX ," \
Makefile.PL
+# don't know why we have to explicitly force -lGraphicsMagick here...
perl Makefile.PL \
+ LIBS=-lGraphicsMagick \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \