diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:17 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:08 +0700 |
commit | bb0fd6ae03060a217b7ab669ddc98e232815c0eb (patch) | |
tree | 9958ba7494d19d51fea7751bb76082d0f0ee5206 /haskell/haskell-erf | |
parent | d9b3d33f13a4cf00e577df5edcc83578ca959fe4 (diff) |
haskell/haskell-erf: 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-erf')
-rw-r--r-- | haskell/haskell-erf/haskell-erf.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-erf/haskell-erf.SlackBuild b/haskell/haskell-erf/haskell-erf.SlackBuild index 74335d83cab3..69c6bdeffe78 100644 --- a/haskell/haskell-erf/haskell-erf.SlackBuild +++ b/haskell/haskell-erf/haskell-erf.SlackBuild @@ -89,7 +89,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 |