aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-dlist
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:24 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:12 +0700
commit7638f56940e981ffdaf6eaa318c1a0376ae7aa65 (patch)
tree23e678d4c804b8e44b933b1e6d2acd0416bf1940 /haskell/haskell-dlist
parentfb697b6aa7427d887faca131f767d7705fa02d1b (diff)
haskell/haskell-dlist: 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-dlist')
-rw-r--r--haskell/haskell-dlist/haskell-dlist.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-dlist/haskell-dlist.SlackBuild b/haskell/haskell-dlist/haskell-dlist.SlackBuild
index 7850ae769c23..462e7f7a0b7b 100644
--- a/haskell/haskell-dlist/haskell-dlist.SlackBuild
+++ b/haskell/haskell-dlist/haskell-dlist.SlackBuild
@@ -91,7 +91,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