diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:42 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:22 +0700 |
commit | d95b0f4c5d5dd27fc8ac2aa1a802fbe553726a64 (patch) | |
tree | 11fae34dbd73c0aeb472e27119154e2087797b4a /haskell/haskell-persistent-sqlite | |
parent | dc9fbdf092d818b8a82043f092185cf362cbde22 (diff) |
haskell/haskell-persistent-sqlite: 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-persistent-sqlite')
-rw-r--r-- | haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.SlackBuild b/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.SlackBuild index 903abe28fbca..0d2a562b6849 100644 --- a/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.SlackBuild +++ b/haskell/haskell-persistent-sqlite/haskell-persistent-sqlite.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 |