aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:51 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:26 +0700
commit27d98f7978f97bc011a54573ee26e61a1817e66f (patch)
treeb10f73d0c29d21a34116d54127361c39348cd378
parente3e397ac3a510c4ccaffc8b2b60953652505bc27 (diff)
haskell/haskell-cipher-des: 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-cipher-des/haskell-cipher-des.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cipher-des/haskell-cipher-des.SlackBuild b/haskell/haskell-cipher-des/haskell-cipher-des.SlackBuild
index 3193c4326c8f..fa76286b169b 100644
--- a/haskell/haskell-cipher-des/haskell-cipher-des.SlackBuild
+++ b/haskell/haskell-cipher-des/haskell-cipher-des.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