summaryrefslogtreecommitdiff
path: root/haskell/haskell-base16-bytestring
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:20 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:43 +0700
commit8cc02d8f584a8a743cfd145ad621ce990273d739 (patch)
tree7ae6c04b0bc91ad34b1f5951d910745b1f15a66c /haskell/haskell-base16-bytestring
parentedc5dd5df09e5c5377d4ab2b5b1dc093a3192385 (diff)
downloadslackbuilds-8cc02d8f584a8a743cfd145ad621ce990273d739.tar.gz
haskell/haskell-base16-bytestring: 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-base16-bytestring')
-rw-r--r--haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild
index e74af70858..bd7c0df9c5 100644
--- a/haskell/haskell-base16-bytestring/haskell-base16-bytestring.SlackBuild
+++ b/haskell/haskell-base16-bytestring/haskell-base16-bytestring.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