aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-GLURaw
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:18 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:09 +0700
commitc9ae229636d40e6a4db25108383440a7eeddcc36 (patch)
treec0af1f28fc10f534f570b42bc0a4d77ef4f87e3e /haskell/haskell-GLURaw
parentf8d340a1c635a0645cc739b5f53f6cd4d881602b (diff)
haskell/haskell-GLURaw: 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-GLURaw')
-rw-r--r--haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild b/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild
index a70f29f94a2fa..966ff0915f9a4 100644
--- a/haskell/haskell-GLURaw/haskell-GLURaw.SlackBuild
+++ b/haskell/haskell-GLURaw/haskell-GLURaw.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