summaryrefslogtreecommitdiffstats
path: root/libraries/KLU/KLU.SlackBuild
diff options
context:
space:
mode:
author Kyle Guinn <elyk03@gmail.com>2011-06-19 10:30:25 -0400
committer Robby Workman <rworkman@slackbuilds.org>2011-06-19 23:17:05 -0500
commitdd030eb17685f407cef63f19118b066503f70f44 (patch)
tree0294082e3b57feadf7f2a65962d2dd3404d967ae /libraries/KLU/KLU.SlackBuild
parentd34b25d8363e9bea5af2244bbf90d6f7b64f7bfd (diff)
downloadslackbuilds-dd030eb17685f407cef63f19118b066503f70f44.tar.gz
slackbuilds-dd030eb17685f407cef63f19118b066503f70f44.tar.xz
libraries/KLU: Updated for version 1.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/KLU/KLU.SlackBuild')
-rw-r--r--libraries/KLU/KLU.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/KLU/KLU.SlackBuild b/libraries/KLU/KLU.SlackBuild
index d521097e481..c3f248b8450 100644
--- a/libraries/KLU/KLU.SlackBuild
+++ b/libraries/KLU/KLU.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=KLU
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,9 @@ else
LIBDIRSUFFIX=""
fi
+# Recommended by SuiteSparse
+SLKCFLAGS="$SLKCFLAGS -fexceptions -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
+
set -e
rm -rf $PKG
@@ -52,14 +55,16 @@ patch -p1 < $CWD/autotoolize.diff
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
--build=$ARCH-slackware-linux
make