diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:12 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:39 +0700 |
commit | ffb64041002715f039d47c634aa25fc9d153b431 (patch) | |
tree | ba793472f64814bbd2dfcd828607276e5de1e31f /haskell/haskell-monad-loops | |
parent | b6935000e4b563b226e14df46ea7641bdc3fba42 (diff) |
haskell/haskell-monad-loops: 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-monad-loops')
-rw-r--r-- | haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild b/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild index 85b8031c5860e..33374daf8532f 100644 --- a/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild +++ b/haskell/haskell-monad-loops/haskell-monad-loops.SlackBuild @@ -89,7 +89,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 |