summaryrefslogtreecommitdiff
path: root/libraries/CAMD/CAMD.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/CAMD/CAMD.SlackBuild')
-rw-r--r--libraries/CAMD/CAMD.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/CAMD/CAMD.SlackBuild b/libraries/CAMD/CAMD.SlackBuild
index 8bfe65ece7..b43ddaa2e4 100644
--- a/libraries/CAMD/CAMD.SlackBuild
+++ b/libraries/CAMD/CAMD.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=CAMD
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-2.2.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