summaryrefslogtreecommitdiff
path: root/haskell/haskell-mime-types
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:25 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:46 +0700
commit7c03c28529a364984ba2341f8495f1ea190e2391 (patch)
treed77e21d170174d1a7519d6df2fe3035ae316a8c7 /haskell/haskell-mime-types
parentde6ca5b5685dad6075872a6e07543eb031c06194 (diff)
downloadslackbuilds-7c03c28529a364984ba2341f8495f1ea190e2391.tar.gz
haskell/haskell-mime-types: 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-mime-types')
-rw-r--r--haskell/haskell-mime-types/haskell-mime-types.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-mime-types/haskell-mime-types.SlackBuild b/haskell/haskell-mime-types/haskell-mime-types.SlackBuild
index f3b5616f10..6de7ddb0a0 100644
--- a/haskell/haskell-mime-types/haskell-mime-types.SlackBuild
+++ b/haskell/haskell-mime-types/haskell-mime-types.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