aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-connection/haskell-connection.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:52 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:27 +0700
commit576e89316167cbd0837f3e7466801507b80279a2 (patch)
tree5c29ff0494ca016ced2a2ff8225a7750cf992c64 /haskell/haskell-connection/haskell-connection.SlackBuild
parenta0880594dba49519258b6ceb1575499668c7499d (diff)
haskell/haskell-connection: 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-connection/haskell-connection.SlackBuild')
-rw-r--r--haskell/haskell-connection/haskell-connection.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-connection/haskell-connection.SlackBuild b/haskell/haskell-connection/haskell-connection.SlackBuild
index ba624df06940..a4404a828897 100644
--- a/haskell/haskell-connection/haskell-connection.SlackBuild
+++ b/haskell/haskell-connection/haskell-connection.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