summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:21 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:10 +0700
commit13024e10d0fe2c5e86b6ea7440e8c6eeb80dd75d (patch)
treef6fe21a2b75318690891e98c9997b7b2415a3d95 /haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild
parent8a2ba28cf3f74f140bdce12918f04772be4d96a3 (diff)
downloadslackbuilds-13024e10d0fe2c5e86b6ea7440e8c6eeb80dd75d.tar.gz
slackbuilds-13024e10d0fe2c5e86b6ea7440e8c6eeb80dd75d.tar.xz
haskell/haskell-bytestring-builder: 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-bytestring-builder/haskell-bytestring-builder.SlackBuild')
-rw-r--r--haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild b/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild
index ebe7a2a354..22d1308df2 100644
--- a/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild
+++ b/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild
@@ -88,7 +88,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