diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:13 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:07 +0700 |
commit | 4966d32a7647a099f2c3446901db311870937ce4 (patch) | |
tree | d8690f2cca03987f423ccd64d0ad617b462c0a0e /haskell/haskell-safe/haskell-safe.SlackBuild | |
parent | 71d21643ab461484e712815ce56d18467a76fcc0 (diff) |
haskell/haskell-safe: 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-safe/haskell-safe.SlackBuild')
-rw-r--r-- | haskell/haskell-safe/haskell-safe.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-safe/haskell-safe.SlackBuild b/haskell/haskell-safe/haskell-safe.SlackBuild index 1db4c19d5459..db822d88d869 100644 --- a/haskell/haskell-safe/haskell-safe.SlackBuild +++ b/haskell/haskell-safe/haskell-safe.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 |