diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:04 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:34 +0700 |
commit | fa98057875e6deec4b126eab453ce4b417a69be6 (patch) | |
tree | 6ec91eaab5dba502d06e846a7e911458b87913ee | |
parent | f10c38b40256f66c83d19fe35f9aeb2f6db1c60a (diff) |
haskell/haskell-hashed-storage: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild b/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild index 0b7653f713cd6..9877cc7ab49df 100644 --- a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild +++ b/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild @@ -93,7 +93,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 |