summaryrefslogtreecommitdiff
path: root/haskell/haskell-logict
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
commit611f6a05245154a3cea0fd1b3f247c0d0a46bfb1 (patch)
tree523e0b25fac7d52bc0d5c7163d45ef9b2af87ae3 /haskell/haskell-logict
parentf58821adf9044942b17b6ddf659925e6dead69b6 (diff)
downloadslackbuilds-611f6a05245154a3cea0fd1b3f247c0d0a46bfb1.tar.gz
haskell/haskell-logict: 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/haskell-logict')
-rw-r--r--haskell/haskell-logict/haskell-logict.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-logict/haskell-logict.SlackBuild b/haskell/haskell-logict/haskell-logict.SlackBuild
index 510ed36747..d9d27eeb8e 100644
--- a/haskell/haskell-logict/haskell-logict.SlackBuild
+++ b/haskell/haskell-logict/haskell-logict.SlackBuild
@@ -89,7 +89,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