diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:10 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:37 +0700 |
commit | 1f3f51ec96ef4c18e83911132679e9967a947681 (patch) | |
tree | 8db8453fb32f0fa772d0bba6cb18a25c0cc777ac /haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild | |
parent | 38fba32c1515cae947534bd8a588447a6bd1a74f (diff) |
haskell/haskell-microlens-th: 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-microlens-th/haskell-microlens-th.SlackBuild')
-rw-r--r-- | haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild b/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild index cd8612443fa17..0b332fceef724 100644 --- a/haskell/haskell-microlens-th/haskell-microlens-th.SlackBuild +++ b/haskell/haskell-microlens-th/haskell-microlens-th.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 |