aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:18 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:42 +0700
commit3480d4da97a8a948f41de42adce234cebf28f8eb (patch)
treefba7df9521e5cd97adb145353250cfaf82776432
parent936c42880adf4566c21c3d3a560daed87713fc8c (diff)
haskell/haskell-open-browser: 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-open-browser/haskell-open-browser.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-open-browser/haskell-open-browser.SlackBuild b/haskell/haskell-open-browser/haskell-open-browser.SlackBuild
index 8a784e85dfb18..92388a8b7b53a 100644
--- a/haskell/haskell-open-browser/haskell-open-browser.SlackBuild
+++ b/haskell/haskell-open-browser/haskell-open-browser.SlackBuild
@@ -89,7 +89,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