aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-byteable/haskell-byteable.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:50 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:26 +0700
commitf076f6bf84d698244e5f5bd304eee1555c029db0 (patch)
tree8ed9af45e75d73edad85e30cc31fab63415cb260 /haskell/haskell-byteable/haskell-byteable.SlackBuild
parent81de5ea4b6a17412c8406ceaa5bba712e50ed5b4 (diff)
haskell/haskell-byteable: 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-byteable/haskell-byteable.SlackBuild')
-rw-r--r--haskell/haskell-byteable/haskell-byteable.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-byteable/haskell-byteable.SlackBuild b/haskell/haskell-byteable/haskell-byteable.SlackBuild
index b5df40d29601a..a1e10f6d03d97 100644
--- a/haskell/haskell-byteable/haskell-byteable.SlackBuild
+++ b/haskell/haskell-byteable/haskell-byteable.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