diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:14 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:40 +0700 |
commit | f7f90320285db5060ed0507e13d9463db4470960 (patch) | |
tree | 8ace7055fccf85876f66191b57244724c6fa42a7 /haskell/haskell-monad-logger | |
parent | 9cf1849b14f0b7ed334c3a3f0ee1be146d78e95b (diff) |
haskell/haskell-monad-logger: 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-logger')
-rw-r--r-- | haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild b/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild index 3df1fc598f3e..bccdddc98c4f 100644 --- a/haskell/haskell-monad-logger/haskell-monad-logger.SlackBuild +++ b/haskell/haskell-monad-logger/haskell-monad-logger.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 |