summaryrefslogtreecommitdiff
path: root/haskell/haskell-profunctors
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:21 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:44 +0700
commit33e8c8b84c1bdb51d74737a9eba633c7927f7457 (patch)
treeb547ee5dc23b6e0432a9247700289f7dd5535462 /haskell/haskell-profunctors
parent8a0f7073b0bae7468083a3b090dc609cb2123508 (diff)
downloadslackbuilds-33e8c8b84c1bdb51d74737a9eba633c7927f7457.tar.gz
haskell/haskell-profunctors: 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-profunctors')
-rw-r--r--haskell/haskell-profunctors/haskell-profunctors.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-profunctors/haskell-profunctors.SlackBuild b/haskell/haskell-profunctors/haskell-profunctors.SlackBuild
index 766f68f40d..ff62ade230 100644
--- a/haskell/haskell-profunctors/haskell-profunctors.SlackBuild
+++ b/haskell/haskell-profunctors/haskell-profunctors.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