summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:32 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:16 +0700
commit62c6255fa2de2e3ce1c1be6e3911e8faa2f84ec3 (patch)
tree427c9ece34adc1fbb9436b56663c3e342c532643
parentc3ad9a36a2fe9357dcde8b6da933afd5b4869606 (diff)
downloadslackbuilds-62c6255fa2de2e3ce1c1be6e3911e8faa2f84ec3.tar.gz
haskell/haskell-sandi: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-sandi/haskell-sandi.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-sandi/haskell-sandi.SlackBuild b/haskell/haskell-sandi/haskell-sandi.SlackBuild
index 229142eb4a..5564f843b1 100644
--- a/haskell/haskell-sandi/haskell-sandi.SlackBuild
+++ b/haskell/haskell-sandi/haskell-sandi.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