aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-publicsuffixlist
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:42 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:22 +0700
commit6597646cb8456794dd97eccb3be0ead63667b872 (patch)
treee4eec0d8559f17d24ab72b67a6c8a1730851614b /haskell/haskell-publicsuffixlist
parentb47995dd620a1b3867bd274be4ca8b9a0c1595c6 (diff)
haskell/haskell-publicsuffixlist: 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-publicsuffixlist')
-rw-r--r--haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.SlackBuild b/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.SlackBuild
index 5bd7da70628a..f69ddfabec9d 100644
--- a/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.SlackBuild
+++ b/haskell/haskell-publicsuffixlist/haskell-publicsuffixlist.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