diff options
Diffstat (limited to 'academic/qhull/qhull.SlackBuild')
-rw-r--r-- | academic/qhull/qhull.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild index 7a5b45173f..d6e67a9d54 100644 --- a/academic/qhull/qhull.SlackBuild +++ b/academic/qhull/qhull.SlackBuild @@ -4,7 +4,6 @@ # Written by Chris Abela <chris.abela@maltats.com> # April 2009 -# |-----------------------------------------------------------------| # PRGNAM=qhull VERSION=${VERSION:-2003.1} @@ -19,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fno-strict-aliasing" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fno-strict-aliasing" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC -fno-strict-aliasing" + LIBDIRSUFFIX="64" fi set -e @@ -44,6 +46,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --disable-static \ --build=$ARCH-slackware-linux @@ -74,4 +77,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |