summaryrefslogtreecommitdiff
path: root/haskell/haskell-monad-loops
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:12 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:39 +0700
commitffb64041002715f039d47c634aa25fc9d153b431 (patch)
treeba793472f64814bbd2dfcd828607276e5de1e31f /haskell/haskell-monad-loops
parentb6935000e4b563b226e14df46ea7641bdc3fba42 (diff)
downloadslackbuilds-ffb64041002715f039d47c634aa25fc9d153b431.tar.gz
haskell/haskell-monad-loops: 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-monad-loops')
-rw-r--r--haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild b/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild
index 85b8031c58..33374daf85 100644
--- a/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild
+++ b/haskell/haskell-monad-loops/haskell-monad-loops.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