diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:36 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:18 +0700 |
commit | cdeb9762c7ba1f210f828b0a9acb526e427f1822 (patch) | |
tree | 6c75095bcd5ae169e5b6d421a45cfab5a8cfc936 /haskell/hscolour | |
parent | d52bde9df7d1ba913fa5345943420743c595c87c (diff) |
haskell/hscolour: 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/hscolour')
-rw-r--r-- | haskell/hscolour/hscolour.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/hscolour/hscolour.SlackBuild b/haskell/hscolour/hscolour.SlackBuild index 1c2e99d5abf71..bc5d3fc2c840b 100644 --- a/haskell/hscolour/hscolour.SlackBuild +++ b/haskell/hscolour/hscolour.SlackBuild @@ -88,7 +88,7 @@ runghc Setup copy --destdir=$PKG PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d mkdir -p $PKG/$PKGCONFD runghc Setup register --gen-pkg-config -PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | cut -d" " -f2 ) +PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 ) mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |