summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:49 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:25 +0700
commitd3292edeb9da08a0995369743d9d6d059de36542 (patch)
tree8938f434065c05bbf3973dff43e41c079d8425c3
parentc35902b9658fecea3e8385b66729701b70f90b96 (diff)
downloadslackbuilds-d3292edeb9da08a0995369743d9d6d059de36542.tar.gz
haskell/haskell-asn1-encoding: 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-asn1-encoding/haskell-asn1-encoding.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild b/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild
index 3c5b17a622..526af7cef2 100644
--- a/haskell/haskell-asn1-encoding/haskell-asn1-encoding.SlackBuild
+++ b/haskell/haskell-asn1-encoding/haskell-asn1-encoding.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