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 | ff5403d34faec56f11ffba4390734670fcc73dbb (patch) | |
tree | 99c022c782f2378f348322fe83175148cee0c60e /haskell/haskell-regex-applicative-text | |
parent | c2f3ddf85542b4e707d6ccc9d306e9cb9e153673 (diff) |
haskell/haskell-regex-applicative-text: 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-regex-applicative-text')
-rw-r--r-- | haskell/haskell-regex-applicative-text/haskell-regex-applicative-text.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-applicative-text/haskell-regex-applicative-text.SlackBuild b/haskell/haskell-regex-applicative-text/haskell-regex-applicative-text.SlackBuild index 2036631ba477c..c512e647ac021 100644 --- a/haskell/haskell-regex-applicative-text/haskell-regex-applicative-text.SlackBuild +++ b/haskell/haskell-regex-applicative-text/haskell-regex-applicative-text.SlackBuild @@ -92,7 +92,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 |