diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:46 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:24 +0700 |
commit | 8b6a41966694cc757d0e9acef4fdcf44f2cbd69f (patch) | |
tree | 60615e52d3e9d39540e9910ab498fe52160e632d /haskell/haskell-unix-compat | |
parent | 50f9ccf18be312230f6a45bad63a27ab1ccd8d89 (diff) |
haskell/haskell-unix-compat: 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-unix-compat')
-rw-r--r-- | haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild b/haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild index a333c6a5f9f79..3f260ab7ad3b7 100644 --- a/haskell/haskell-unix-compat/haskell-unix-compat.SlackBuild +++ b/haskell/haskell-unix-compat/haskell-unix-compat.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 |