diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:27 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:13 +0700 |
commit | eaa4290810ed39a3ae680da4dd3be6139e3d004b (patch) | |
tree | 5d288c436b67dcf43d1c64f1f140b7b48d52ba7f /haskell/haskell-system-fileio | |
parent | fa4ad166e04a8f1cb8b175335f69905606a1b84a (diff) |
haskell/haskell-system-fileio: 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-system-fileio')
-rw-r--r-- | haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild b/haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild index 06f0f235cb234..779e4fbff9b2d 100644 --- a/haskell/haskell-system-fileio/haskell-system-fileio.SlackBuild +++ b/haskell/haskell-system-fileio/haskell-system-fileio.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 |