aboutsummaryrefslogtreecommitdiff
path: root/libraries/LDL/LDL.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2011-06-19 10:32:29 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-19 23:17:05 -0500
commit2158d45842eec382f836f44390cbbe2d7815d0d9 (patch)
tree738a3871774630b4233aa4f4bcc4731094995064 /libraries/LDL/LDL.SlackBuild
parentdd030eb17685f407cef63f19118b066503f70f44 (diff)
libraries/LDL: Updated for version 2.0.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/LDL/LDL.SlackBuild')
-rw-r--r--libraries/LDL/LDL.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/LDL/LDL.SlackBuild b/libraries/LDL/LDL.SlackBuild
index 91a78f8df59f7..8e75606d9c9b1 100644
--- a/libraries/LDL/LDL.SlackBuild
+++ b/libraries/LDL/LDL.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=LDL
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.0.3}
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