diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:48 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:25 +0700 |
commit | 47bf20888a88cfddcec354353aeabcf65cb0a7ad (patch) | |
tree | a67dc6e3c6a76b8c66435596b20f293861f12e20 /haskell/haskell-FindBin/haskell-FindBin.SlackBuild | |
parent | 0fdf7683556f6c068527ae625851ea45e991f4e7 (diff) |
haskell/haskell-FindBin: 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-FindBin/haskell-FindBin.SlackBuild')
-rw-r--r-- | haskell/haskell-FindBin/haskell-FindBin.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-FindBin/haskell-FindBin.SlackBuild b/haskell/haskell-FindBin/haskell-FindBin.SlackBuild index 1b4d7f04a4bd..2024f8ef4e13 100644 --- a/haskell/haskell-FindBin/haskell-FindBin.SlackBuild +++ b/haskell/haskell-FindBin/haskell-FindBin.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 |