diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:00 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:31 +0700 |
commit | a8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2 (patch) | |
tree | f959b5e178a8cba9d86ce0a68b66da0d4b26e208 /haskell/haskell-half | |
parent | 0c9109cd4d40dfc24d2de5d1dbf3cf6a06530af3 (diff) | |
download | slackbuilds-a8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2.tar.gz |
haskell/haskell-half: 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-half')
-rw-r--r-- | haskell/haskell-half/haskell-half.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-half/haskell-half.SlackBuild b/haskell/haskell-half/haskell-half.SlackBuild index 8550502fe7..0b264cb6c5 100644 --- a/haskell/haskell-half/haskell-half.SlackBuild +++ b/haskell/haskell-half/haskell-half.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 |