aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:00 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:31 +0700
commita8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2 (patch)
treef959b5e178a8cba9d86ce0a68b66da0d4b26e208 /haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild
parent0c9109cd4d40dfc24d2de5d1dbf3cf6a06530af3 (diff)
haskell/haskell-half: 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-data-default-instances-base/haskell-data-default-instances-base.SlackBuild')
-rw-r--r--haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild b/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild
index 3ef76a0fdc95..3ee2e9b1c7d9 100644
--- a/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild
+++ b/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.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