diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:35 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:18 +0700 |
commit | d52bde9df7d1ba913fa5345943420743c595c87c (patch) | |
tree | 6504117840481ea1db70ff14ed5ca34f6e19547b /haskell/haskell-xml | |
parent | fd48998ab10dae1eef0e4a5c29d35e70802c9bc3 (diff) |
haskell/haskell-xml: 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-xml')
-rw-r--r-- | haskell/haskell-xml/haskell-xml.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-xml/haskell-xml.SlackBuild b/haskell/haskell-xml/haskell-xml.SlackBuild index 7fce67b7f99c6..b81a405c63f65 100644 --- a/haskell/haskell-xml/haskell-xml.SlackBuild +++ b/haskell/haskell-xml/haskell-xml.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 |