aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-data-default
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:01 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:32 +0700
commit8485b4d0037ad0aadeef37bcfb59e3c94874e9ae (patch)
tree2055fc03e11baecf75d4218bc1df36452b97fffa /haskell/haskell-data-default
parent12e4ba136747c9153aa14455c48474e9457e8839 (diff)
haskell/haskell-data-default: 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')
-rw-r--r--haskell/haskell-data-default/haskell-data-default.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-data-default/haskell-data-default.SlackBuild b/haskell/haskell-data-default/haskell-data-default.SlackBuild
index 83e4f4c6d0164..2703240ac9c4b 100644
--- a/haskell/haskell-data-default/haskell-data-default.SlackBuild
+++ b/haskell/haskell-data-default/haskell-data-default.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