diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:20 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:43 +0700 |
commit | edc5dd5df09e5c5377d4ab2b5b1dc093a3192385 (patch) | |
tree | 83e42651d932f96cc8e1145242e1c3b2305456fa /haskell | |
parent | ac33c72c0a3638a457c2d1682423c15b5e1996ed (diff) |
haskell/haskell-persistent: 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-persistent/haskell-persistent.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-persistent/haskell-persistent.SlackBuild b/haskell/haskell-persistent/haskell-persistent.SlackBuild index f4eb6931be77f..e18d7758ac157 100644 --- a/haskell/haskell-persistent/haskell-persistent.SlackBuild +++ b/haskell/haskell-persistent/haskell-persistent.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 |