diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:22 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:11 +0700 |
commit | c5e98d9dfd547a0d42ac72946ae4d207d4f0f281 (patch) | |
tree | 1b6411dc35be44557ad7c978bfe2064f7d0da8b3 /haskell/haskell-cmdargs | |
parent | 37cd5e46d0d735257771b35e95fef2c366ea688e (diff) |
haskell/haskell-cmdargs: 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-cmdargs')
-rw-r--r-- | haskell/haskell-cmdargs/haskell-cmdargs.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cmdargs/haskell-cmdargs.SlackBuild b/haskell/haskell-cmdargs/haskell-cmdargs.SlackBuild index e580f6a5db59d..05273c5db5606 100644 --- a/haskell/haskell-cmdargs/haskell-cmdargs.SlackBuild +++ b/haskell/haskell-cmdargs/haskell-cmdargs.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 |