summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:24 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:45 +0200
commitb8bc51258bde30d6478ad73ab939e805689fb358 (patch)
treee29b3547c36b83c9dc83fc1b7583a5f97ad4a545 /haskell
parentd43f456532d54d78655eef9aca9cb262bbb0f7b8 (diff)
downloadslackbuilds-b8bc51258bde30d6478ad73ab939e805689fb358.tar.gz
haskell/haskell-punycode: 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')
-rw-r--r--haskell/haskell-punycode/haskell-punycode.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-punycode/haskell-punycode.SlackBuild b/haskell/haskell-punycode/haskell-punycode.SlackBuild
index dd461fec70..f4ed2b482c 100644
--- a/haskell/haskell-punycode/haskell-punycode.SlackBuild
+++ b/haskell/haskell-punycode/haskell-punycode.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