aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-streaming-commons
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:56 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:29 +0700
commit95c2a2cfdbe58bcf57796c9eb9bcced952e3c62c (patch)
treef5fd47bb5df09fed5b4e20e2e7655f48e6874d82 /haskell/haskell-streaming-commons
parentb17a6bc92bd73d532ea74d10791205abf5b6b070 (diff)
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 e8557ac837488..84d4442c18c8c 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