summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:56 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:29 +0700
commitafe2be82772ee2c14b2a6645fed14bdcde991686 (patch)
treee83a15c22dd2c716f12121fd27315e132ddedae1 /haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
parentb2a776ed83f7e567b500c86bcdc92e4015cb2ec5 (diff)
downloadslackbuilds-afe2be82772ee2c14b2a6645fed14bdcde991686.tar.gz
slackbuilds-afe2be82772ee2c14b2a6645fed14bdcde991686.tar.xz
haskell/haskell-tagsoup: 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-tagsoup/haskell-tagsoup.SlackBuild')
-rw-r--r--haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild b/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
index 3468f388e6..eb8697ba68 100644
--- a/haskell/haskell-tagsoup/haskell-tagsoup.SlackBuild
+++ b/haskell/haskell-tagsoup/haskell-tagsoup.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