diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:32 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:16 +0700 |
commit | cf3fce9938e043b7bb63145c89b051824076a690 (patch) | |
tree | 073780de17661c2c8cf5408a1b97a39b3f894389 /haskell/haskell-semigroups | |
parent | 62c6255fa2de2e3ce1c1be6e3911e8faa2f84ec3 (diff) |
haskell/haskell-semigroups: 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-semigroups')
-rw-r--r-- | haskell/haskell-semigroups/haskell-semigroups.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-semigroups/haskell-semigroups.SlackBuild b/haskell/haskell-semigroups/haskell-semigroups.SlackBuild index d0fd6a1f5c853..6ce4418376203 100644 --- a/haskell/haskell-semigroups/haskell-semigroups.SlackBuild +++ b/haskell/haskell-semigroups/haskell-semigroups.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 |