summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:39 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:20 +0700
commit03816311e3522be895dbf9067a4ec8b9ea48d330 (patch)
treefd82a12ae7c9d75acbac91865dcef1f9fbd33e2b /haskell
parentaf08d8cd855c64e6c65dc58e5ab5fc984418c2e5 (diff)
downloadslackbuilds-03816311e3522be895dbf9067a4ec8b9ea48d330.tar.gz
slackbuilds-03816311e3522be895dbf9067a4ec8b9ea48d330.tar.xz
haskell/haskell-cipher-aes: 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')
-rw-r--r--haskell/haskell-cipher-aes/haskell-cipher-aes.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-cipher-aes/haskell-cipher-aes.SlackBuild b/haskell/haskell-cipher-aes/haskell-cipher-aes.SlackBuild
index 7f64bd6a14..9bc5a1c6c6 100644
--- a/haskell/haskell-cipher-aes/haskell-cipher-aes.SlackBuild
+++ b/haskell/haskell-cipher-aes/haskell-cipher-aes.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