diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:05 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:34 +0700 |
commit | 02af1f0df4fe6cbaf24de296188d0cffeb97f084 (patch) | |
tree | a85149fb077c3c4abe46b6689ab9e42b65dc7e11 /haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild | |
parent | 7039bab6b6287bab4a11122f4f4be289167d6162 (diff) |
haskell/haskell-hxt-regex-xmlschema: 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-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild')
-rw-r--r-- | haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild b/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild index 59bde635924c9..6342d60581276 100644 --- a/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.SlackBuild +++ b/haskell/haskell-hxt-regex-xmlschema/haskell-hxt-regex-xmlschema.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 |