aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:18 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:42 +0700
commit936c42880adf4566c21c3d3a560daed87713fc8c (patch)
treeff32d2f8ea730d7c5c7c97787b5b7afe2da406be /haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild
parent6c77e1b1840d12d0eba3255f8dd382aef13e4b91 (diff)
haskell/haskell-http-api-data: 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-http-api-data/haskell-http-api-data.SlackBuild')
-rw-r--r--haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild b/haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild
index f1169410c70f..c2234f6d0197 100644
--- a/haskell/haskell-http-api-data/haskell-http-api-data.SlackBuild
+++ b/haskell/haskell-http-api-data/haskell-http-api-data.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