diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:59 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:31 +0700 |
commit | 214e07dbb3ddbdab3ee7ada0a52f1af4de84ee44 (patch) | |
tree | 2d98834ecd66dbf715e027341c219f11691c91a5 /haskell/haskell-time-locale-compat | |
parent | a468cd0863581c5f8d6be1e6dee15a34b9e0ea89 (diff) |
haskell/haskell-time-locale-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-time-locale-compat')
-rw-r--r-- | haskell/haskell-time-locale-compat/haskell-time-locale-compat.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-time-locale-compat/haskell-time-locale-compat.SlackBuild b/haskell/haskell-time-locale-compat/haskell-time-locale-compat.SlackBuild index 785927f58e592..4dd641d260714 100644 --- a/haskell/haskell-time-locale-compat/haskell-time-locale-compat.SlackBuild +++ b/haskell/haskell-time-locale-compat/haskell-time-locale-compat.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 |