summaryrefslogtreecommitdiff
path: root/haskell/haskell-cipher-rc4
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:22 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:11 +0700
commit37cd5e46d0d735257771b35e95fef2c366ea688e (patch)
tree7844df9883514212c578560984ac2ede2e383df0 /haskell/haskell-cipher-rc4
parent733f9495ed1322c90c782a30f8ec49e640b56f3c (diff)
downloadslackbuilds-37cd5e46d0d735257771b35e95fef2c366ea688e.tar.gz
haskell/haskell-cipher-rc4: 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-cipher-rc4')
-rw-r--r--haskell/haskell-cipher-rc4/haskell-cipher-rc4.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cipher-rc4/haskell-cipher-rc4.SlackBuild b/haskell/haskell-cipher-rc4/haskell-cipher-rc4.SlackBuild
index c3928517ef..487d7805eb 100644
--- a/haskell/haskell-cipher-rc4/haskell-cipher-rc4.SlackBuild
+++ b/haskell/haskell-cipher-rc4/haskell-cipher-rc4.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