diff options
author | Dominik Drobek <dominik.drobek@o2.pl> | 2011-06-23 21:15:30 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:54:01 -0300 |
commit | 169eee141e7de16a49db6366579b6d60178c6457 (patch) | |
tree | 7f3513a83885ab3ca9cb226b32b53ea88ec29656 /libraries/cfitsio/cfitsio.SlackBuild | |
parent | 1adfa3e1c08d4f2738183e4645a1a9cfbf155a90 (diff) | |
download | slackbuilds-169eee141e7de16a49db6366579b6d60178c6457.tar.gz |
libraries/cfitsio: Updated for version 3.28.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/cfitsio/cfitsio.SlackBuild')
-rw-r--r-- | libraries/cfitsio/cfitsio.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libraries/cfitsio/cfitsio.SlackBuild b/libraries/cfitsio/cfitsio.SlackBuild index 44093de3fe..7cf5694b0a 100644 --- a/libraries/cfitsio/cfitsio.SlackBuild +++ b/libraries/cfitsio/cfitsio.SlackBuild @@ -4,11 +4,11 @@ # Written by Dominik Drobek <dominik.drobek (at) o2.pl> PRGNAM=cfitsio -VERSION=${VERSION:-3.27} +VERSION=${VERSION:-3.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -FVER=3270 +FVER=3280 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,6 +37,15 @@ else LIBDIRSUFFIX="" fi +# --enable-reentrant is disabled by default, as it causes problems with legacy software +REENTRANT=${REENTRANT:-no} + +if [ "$REENTRANT" = "no" ]; then + USE_REENTRANT="--disable-reentrant" +else + USE_REENTRANT="--enable-reentrant" +fi + set -e rm -rf $PKG @@ -60,7 +69,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --enable-reentrant \ + ${USE_REENTRANT} \ --build=$ARCH-slackware-linux # Apparently --libdir is ignored |