summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:13 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:39 +0700
commit29e462e91f74b1419bfae5bd0239af7aebad603a (patch)
treea8821d6c9e7593819800d0e950ad2a9c814ff89b /haskell/haskell-haskell-src/haskell-haskell-src.SlackBuild
parentd50d06c72bd73e28e5341e9b7c9ff0bcf900ebda (diff)
downloadslackbuilds-29e462e91f74b1419bfae5bd0239af7aebad603a.tar.gz
slackbuilds-29e462e91f74b1419bfae5bd0239af7aebad603a.tar.xz
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/haskell-haskell-src.SlackBuild')
-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 5f7f42b798..bbcc7e4510 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