diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:27 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:47 +0700 |
commit | f66f81dab3774041b244d290e6dfce712c798b64 (patch) | |
tree | fb7322cba34513767a2407c73d0a9d27695594da /haskell/haskell-regex-pcre-builtin | |
parent | e4148dd3cce959fb1013b2603581aa3f4793a8d7 (diff) | |
download | slackbuilds-f66f81dab3774041b244d290e6dfce712c798b64.tar.gz |
haskell/haskell-regex-pcre-builtin: 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-regex-pcre-builtin')
-rw-r--r-- | haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild b/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild index 3346ba81f7..d0b5ec8706 100644 --- a/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.SlackBuild +++ b/haskell/haskell-regex-pcre-builtin/haskell-regex-pcre-builtin.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 |