summaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:15 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:40 +0700
commitda7e350297e77b52797aa47bbb112732bfbb670d (patch)
treeecd2506b1cc7e3647579442823bc57c8c21f9a19 /haskell
parent611f6a05245154a3cea0fd1b3f247c0d0a46bfb1 (diff)
downloadslackbuilds-da7e350297e77b52797aa47bbb112732bfbb670d.tar.gz
haskell/haskell-hslua: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-hslua/haskell-hslua.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hslua/haskell-hslua.SlackBuild b/haskell/haskell-hslua/haskell-hslua.SlackBuild
index a87a945477..ac574d57e4 100644
--- a/haskell/haskell-hslua/haskell-hslua.SlackBuild
+++ b/haskell/haskell-hslua/haskell-hslua.SlackBuild
@@ -90,7 +90,7 @@ runghc Setup copy --destdir=$PKG
runghc Setup register --gen-pkg-config
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf