aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-semigroupoids
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:17 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:08 +0700
commitf526e4e4dbd174bd8dc8f2ee26d65a3301f5adc6 (patch)
treead07ab11520bbdfb74b3f8fdee85df58f705d234 /haskell/haskell-semigroupoids
parent0b0b8eb2c1db3ef6681639debbf29940e3401ca6 (diff)
haskell/haskell-semigroupoids: 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-semigroupoids')
-rw-r--r--haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild b/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild
index f435bfa545af6..2fc92113d92c9 100644
--- a/haskell/haskell-semigroupoids/haskell-semigroupoids.SlackBuild
+++ b/haskell/haskell-semigroupoids/haskell-semigroupoids.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