aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-bifunctors
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:21 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:10 +0700
commit622e591b5f517fbde99870d86ee318a3eb58de60 (patch)
tree6fb276adc1963b6fc2fc1ab35a722414639ae7f5 /haskell/haskell-bifunctors
parent862e0cea7683dffe723a573db15e5821db06a845 (diff)
haskell/haskell-bifunctors: 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-bifunctors')
-rw-r--r--haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild b/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild
index 4c92caa76638..f0c5e871e4eb 100644
--- a/haskell/haskell-bifunctors/haskell-bifunctors.SlackBuild
+++ b/haskell/haskell-bifunctors/haskell-bifunctors.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