summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2015-08-18 07:48:22 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-18 07:48:22 +0700
commit4b8740a58c827d3096f7fde72c921ab03f5477d9 (patch)
tree265b8e8894e3d5595e910503957dbb5d1d49d96d /graphics
parente40c45a3d72ee60c2a378373f8a62c7a179e5b09 (diff)
downloadslackbuilds-4b8740a58c827d3096f7fde72c921ab03f5477d9.tar.gz
slackbuilds-4b8740a58c827d3096f7fde72c921ab03f5477d9.tar.xz
graphics/enblend-enfuse: Added LDFLAGS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-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 \