aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-punycode
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:24 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:45 +0700
commitb8bc51258bde30d6478ad73ab939e805689fb358 (patch)
treee29b3547c36b83c9dc83fc1b7583a5f97ad4a545 /haskell/haskell-punycode
parentd43f456532d54d78655eef9aca9cb262bbb0f7b8 (diff)
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/haskell-punycode')
-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 dd461fec705b3..f4ed2b482c30c 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