diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:41 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:21 +0700 |
commit | a43642166c4835e5be94d4ec83376f980573f624 (patch) | |
tree | fc4f1bbfc75b4672e9a8f16c4341eaf7830f02d0 | |
parent | 6d257f99370e5b9a060ae3fc1bb48a6087de75fd (diff) |
haskell/haskell-old-time: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | haskell/haskell-old-time/haskell-old-time.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-old-time/haskell-old-time.SlackBuild b/haskell/haskell-old-time/haskell-old-time.SlackBuild index 766e6f436576..286251a9dd6e 100644 --- a/haskell/haskell-old-time/haskell-old-time.SlackBuild +++ b/haskell/haskell-old-time/haskell-old-time.SlackBuild @@ -92,7 +92,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 |