aboutsummaryrefslogtreecommitdiff
path: root/development/happy/happy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/happy/happy.SlackBuild')
-rw-r--r--development/happy/happy.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/development/happy/happy.SlackBuild b/development/happy/happy.SlackBuild
index 5e66a10dafd0a..7d8e13cd2b20a 100644
--- a/development/happy/happy.SlackBuild
+++ b/development/happy/happy.SlackBuild
@@ -2,20 +2,18 @@
# Slackware build script for happy
-# Written by Mikko Varri (vmj@linuxbox.fi)
+# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
PRGNAM=happy
-VERSION=${VERSION:-1.18.4}
+VERSION=${VERSION:-1.18.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,11 +53,11 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
runghc Setup.lhs configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --flags="-threaded -dynamic"
+ --ghc-options="-threaded -dynamic"
runghc Setup.lhs build
runghc Setup.lhs copy --destdir=$PKG
@@ -76,4 +74,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-