aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-dataenc
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:23 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:11 +0700
commitfb697b6aa7427d887faca131f767d7705fa02d1b (patch)
tree7cb9c1f756112194bbefd7864823e072b663da0a /haskell/haskell-dataenc
parentce244e9b8a1bb9878e0d845cbaf13194fdf00135 (diff)
haskell/haskell-dataenc: 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-dataenc')
-rw-r--r--haskell/haskell-dataenc/haskell-dataenc.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
index 48e227f26f8ee..6aefb9878ce15 100644
--- a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
+++ b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
@@ -93,7 +93,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