diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:37 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:19 +0700 |
commit | fda9b08245412b283fff31ef0072d44f01196ae5 (patch) | |
tree | d0b27d2416550f33e3197e65213003b78473d647 | |
parent | 42be7963b3f3a931e6a683a7193ffc0533a9ae2e (diff) |
haskell/haskell-JuicyPixels: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild b/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild index 145ddd7b6f11e..8552df6844506 100644 --- a/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild +++ b/haskell/haskell-JuicyPixels/haskell-JuicyPixels.SlackBuild @@ -90,7 +90,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 |