summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-streaming-commons
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:56 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:29 +0200
commit95c2a2cfdbe58bcf57796c9eb9bcced952e3c62c (patch)
treef5fd47bb5df09fed5b4e20e2e7655f48e6874d82 /haskell/haskell-streaming-commons
parentb17a6bc92bd73d532ea74d10791205abf5b6b070 (diff)
downloadslackbuilds-95c2a2cfdbe58bcf57796c9eb9bcced952e3c62c.tar.gz
haskell/haskell-streaming-commons: 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-streaming-commons')
-rw-r--r--haskell/haskell-streaming-commons/haskell-streaming-commons.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-streaming-commons/haskell-streaming-commons.SlackBuild b/haskell/haskell-streaming-commons/haskell-streaming-commons.SlackBuild
index e8557ac837..84d4442c18 100644
--- a/haskell/haskell-streaming-commons/haskell-streaming-commons.SlackBuild
+++ b/haskell/haskell-streaming-commons/haskell-streaming-commons.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