diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:21 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:10 +0700 |
commit | 13024e10d0fe2c5e86b6ea7440e8c6eeb80dd75d (patch) | |
tree | f6fe21a2b75318690891e98c9997b7b2415a3d95 | |
parent | 8a2ba28cf3f74f140bdce12918f04772be4d96a3 (diff) |
haskell/haskell-bytestring-builder: 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-bytestring-builder/haskell-bytestring-builder.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild b/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild index ebe7a2a354ef4..22d1308df2678 100644 --- a/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild +++ b/haskell/haskell-bytestring-builder/haskell-bytestring-builder.SlackBuild @@ -88,7 +88,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 |