diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:11 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:38 +0700 |
commit | 811b010eecb7720b340628bc5d0ff4e6e704758d (patch) | |
tree | 2de16b7bd62bdd1742d3d61d7c46700be52b0875 /haskell | |
parent | 91d9c55823c705c7878fbc43deda5844067c8789 (diff) |
haskell/haskell-mmap: 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')
-rw-r--r-- | haskell/haskell-mmap/haskell-mmap.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-mmap/haskell-mmap.SlackBuild b/haskell/haskell-mmap/haskell-mmap.SlackBuild index a6fcb090d709..4ec298e1b1ab 100644 --- a/haskell/haskell-mmap/haskell-mmap.SlackBuild +++ b/haskell/haskell-mmap/haskell-mmap.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 |