aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-haskell-src
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:13 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:39 +0700
commit29e462e91f74b1419bfae5bd0239af7aebad603a (patch)
treea8821d6c9e7593819800d0e950ad2a9c814ff89b /haskell/haskell-haskell-src
parentd50d06c72bd73e28e5341e9b7c9ff0bcf900ebda (diff)
haskell/haskell-haskell-src: 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-haskell-src')
-rw-r--r--haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild b/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild
index 5f7f42b7989f..bbcc7e4510b9 100644
--- a/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild
+++ b/haskell/haskell-haskell-src/haskell-haskell-src.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