aboutsummaryrefslogtreecommitdiff
path: root/haskell/hscolour
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/hscolour')
-rw-r--r--haskell/hscolour/hscolour.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/hscolour/hscolour.SlackBuild b/haskell/hscolour/hscolour.SlackBuild
index 1c2e99d5abf71..bc5d3fc2c840b 100644
--- a/haskell/hscolour/hscolour.SlackBuild
+++ b/haskell/hscolour/hscolour.SlackBuild
@@ -88,7 +88,7 @@ runghc Setup copy --destdir=$PKG
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
mkdir -p $PKG/$PKGCONFD
runghc Setup register --gen-pkg-config
-PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \