summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-bifunctors
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:21 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:10 +0200
commit622e591b5f517fbde99870d86ee318a3eb58de60 (patch)
tree6fb276adc1963b6fc2fc1ab35a722414639ae7f5 /haskell/haskell-bifunctors
parent862e0cea7683dffe723a573db15e5821db06a845 (diff)
downloadslackbuilds-622e591b5f517fbde99870d86ee318a3eb58de60.tar.gz
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 4c92caa766..f0c5e871e4 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