summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-logict
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:15 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:40 +0200
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