diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:00 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:31 +0700 |
commit | a8dd8d1daa0c92faf5704ef35cf5c59cf2beeee2 (patch) | |
tree | f959b5e178a8cba9d86ce0a68b66da0d4b26e208 | |
parent | 0c9109cd4d40dfc24d2de5d1dbf3cf6a06530af3 (diff) |
haskell/haskell-half: 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-data-default-instances-base/haskell-data-default-instances-base.SlackBuild | 2 | ||||
-rw-r--r-- | haskell/haskell-half/haskell-half.SlackBuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild b/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild index 3ef76a0fdc954..3ee2e9b1c7d9f 100644 --- a/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.SlackBuild +++ b/haskell/haskell-data-default-instances-base/haskell-data-default-instances-base.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 diff --git a/haskell/haskell-half/haskell-half.SlackBuild b/haskell/haskell-half/haskell-half.SlackBuild index 8550502fe7255..0b264cb6c5a7e 100644 --- a/haskell/haskell-half/haskell-half.SlackBuild +++ b/haskell/haskell-half/haskell-half.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 |