diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:44 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:23 +0700 |
commit | de39f1726d722feaa2a12fd23630242d732a8ea9 (patch) | |
tree | d941af8517123f2df5620c81b64d7e92a1075549 /haskell | |
parent | ee32c9cb4019175b08fc8e433d957317ed99c09c (diff) |
haskell/haskell-store: 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')
-rw-r--r-- | haskell/haskell-store/haskell-store.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-store/haskell-store.SlackBuild b/haskell/haskell-store/haskell-store.SlackBuild index 19bf3002cfadb..373db71fa73fc 100644 --- a/haskell/haskell-store/haskell-store.SlackBuild +++ b/haskell/haskell-store/haskell-store.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 |