diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:52 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:27 +0700 |
commit | f275c323608e16d0880ee5196ba453d988a1bdbd (patch) | |
tree | cf7f7142ac24f1d26daf90cbd0acf787d3f6fe86 /haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild | |
parent | e98bb2cb427e252218a724d536936741934b0460 (diff) |
haskell/haskell-crypto-random: 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-crypto-random/haskell-crypto-random.SlackBuild')
-rw-r--r-- | haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild b/haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild index f3d684b79a7b..01f93800056c 100644 --- a/haskell/haskell-crypto-random/haskell-crypto-random.SlackBuild +++ b/haskell/haskell-crypto-random/haskell-crypto-random.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 |