summaryrefslogtreecommitdiff
path: root/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/enblend-enfuse/enblend-enfuse.SlackBuild')
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
index db6384a215..89225d3202 100644
--- a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
+++ b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Enblend-Enfuse
#
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2011-2014 titopoquito (titopoquito@gmail.com)
+# Copyright 2011-2015 titopoquito (titopoquito@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=enblend-enfuse
VERSION=${VERSION:-4.1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,8 +70,15 @@ 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 {} \;
+# for version 4.1.2 there is an underlinking problem in
+# enblend-enfuse when used with an vigra library that is
+# compiled to support OpenEXR. Both are needed to run
+# hugin, a program to create panorama photos.
+# Thanks to David Spencer for the LDFLAGS hint!
+
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
+LDFLAGS="-lpthread" \
./configure \
--prefix=/usr \
--mandir=/usr/man \