diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:23 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:11 +0700 |
commit | ff45af162e87a4759e51bd23acc2190dfc63af4a (patch) | |
tree | 2fdc689619211aa438a82197b6f59b19f9b1ea9f /haskell/haskell-crypto-numbers | |
parent | 19b58efcb908dd1ca9da3a164969deb244ac75ec (diff) |
haskell/haskell-crypto-numbers: 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-numbers')
-rw-r--r-- | haskell/haskell-crypto-numbers/haskell-crypto-numbers.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-crypto-numbers/haskell-crypto-numbers.SlackBuild b/haskell/haskell-crypto-numbers/haskell-crypto-numbers.SlackBuild index 6f9bc79f4255..6e237948436b 100644 --- a/haskell/haskell-crypto-numbers/haskell-crypto-numbers.SlackBuild +++ b/haskell/haskell-crypto-numbers/haskell-crypto-numbers.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 |