summaryrefslogtreecommitdiff
path: root/libraries/BTF/BTF.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2011-06-17 21:55:18 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-19 23:17:04 -0500
commit84058ff57090bc444b5860727d4f4dbe7a673fb2 (patch)
treec26ff5152675224237cd7679aff450ed731c2d2a /libraries/BTF/BTF.SlackBuild
parented8022166c655af4c6baa409a978be3f544e840b (diff)
downloadslackbuilds-84058ff57090bc444b5860727d4f4dbe7a673fb2.tar.gz
libraries/BTF: Updated for version 1.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/BTF/BTF.SlackBuild')
-rw-r--r--libraries/BTF/BTF.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/BTF/BTF.SlackBuild b/libraries/BTF/BTF.SlackBuild
index b1b413a834..2abe63d93d 100644
--- a/libraries/BTF/BTF.SlackBuild
+++ b/libraries/BTF/BTF.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=BTF
-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