diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:15 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:40 +0700 |
commit | da7e350297e77b52797aa47bbb112732bfbb670d (patch) | |
tree | ecd2506b1cc7e3647579442823bc57c8c21f9a19 /haskell/haskell-hslua | |
parent | 611f6a05245154a3cea0fd1b3f247c0d0a46bfb1 (diff) |
haskell/haskell-hslua: 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-hslua')
-rw-r--r-- | haskell/haskell-hslua/haskell-hslua.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hslua/haskell-hslua.SlackBuild b/haskell/haskell-hslua/haskell-hslua.SlackBuild index a87a94547738..ac574d57e452 100644 --- a/haskell/haskell-hslua/haskell-hslua.SlackBuild +++ b/haskell/haskell-hslua/haskell-hslua.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 |