graphics/enblend-enfuse: Added LDFLAGS.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2015-08-18 07:48:22 +07:00 committed by Willy Sudiarto Raharjo
parent e40c45a3d7
commit 4b8740a58c
1 changed files with 9 additions and 2 deletions

View File

@ -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 \