diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:05 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:34 +0700 |
commit | 7039bab6b6287bab4a11122f4f4be289167d6162 (patch) | |
tree | a1e2db53c7dc80e053b5875ac2be8231f7cac226 /haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild | |
parent | e0c79c31939991618c92d3dc6a55231f355529a0 (diff) |
haskell/haskell-hspec-smallcheck: 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-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild')
-rw-r--r-- | haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild b/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild index 34d442ee78088..ae8df7ebbf0a9 100644 --- a/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.SlackBuild +++ b/haskell/haskell-hspec-smallcheck/haskell-hspec-smallcheck.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 |