aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:38 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:19 +0700
commit48b2e962342d414999ed4a37e2f12d6fe0e8297d (patch)
tree34b463655c361da30601d7f8dd3150f28ca87b01 /haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild
parentbe351451b6a7953e141b80883a80280eb7bb8e11 (diff)
haskell/haskell-base64-bytestring: 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-base64-bytestring/haskell-base64-bytestring.SlackBuild')
-rw-r--r--haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild b/haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild
index b4e87c5168fc6..87c6fd79297c8 100644
--- a/haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild
+++ b/haskell/haskell-base64-bytestring/haskell-base64-bytestring.SlackBuild
@@ -91,7 +91,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