diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:19 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:09 +0700 |
commit | 1115633084c44d6b3164198ebabd967e3aca4f45 (patch) | |
tree | 63d975dee28e27c1886bf5ed63f06fde4e0c27f0 /haskell/haskell-HUnit | |
parent | c9ae229636d40e6a4db25108383440a7eeddcc36 (diff) |
haskell/haskell-HUnit: 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-HUnit')
-rw-r--r-- | haskell/haskell-HUnit/haskell-HUnit.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-HUnit/haskell-HUnit.SlackBuild b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild index cbdff184f9ddd..63b149a5d57ec 100644 --- a/haskell/haskell-HUnit/haskell-HUnit.SlackBuild +++ b/haskell/haskell-HUnit/haskell-HUnit.SlackBuild @@ -91,7 +91,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 |