aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-base-prelude
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:20 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:10 +0700
commit862e0cea7683dffe723a573db15e5821db06a845 (patch)
tree00f19495ee2294485f074507cf54cd39e48fe938 /haskell/haskell-base-prelude
parent1b652382ed4b2e2858cf91e6b29fe29f456960eb (diff)
haskell/haskell-base-prelude: 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-base-prelude')
-rw-r--r--haskell/haskell-base-prelude/haskell-base-prelude.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-base-prelude/haskell-base-prelude.SlackBuild b/haskell/haskell-base-prelude/haskell-base-prelude.SlackBuild
index ece9ca27eb24b..ba443094e7f4c 100644
--- a/haskell/haskell-base-prelude/haskell-base-prelude.SlackBuild
+++ b/haskell/haskell-base-prelude/haskell-base-prelude.SlackBuild
@@ -89,7 +89,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