diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:35:43 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:22 +0700 |
commit | 55b90f05386e6d8527542a05effc610727c34f06 (patch) | |
tree | 5238674f968020214cc4c4e958d760feccf4b1fd /haskell/haskell-scientific | |
parent | 62d70c9323833284a595b8314d289e23e965c83e (diff) |
haskell/haskell-scientific: 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-scientific')
-rw-r--r-- | haskell/haskell-scientific/haskell-scientific.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-scientific/haskell-scientific.SlackBuild b/haskell/haskell-scientific/haskell-scientific.SlackBuild index d0bea97b8022..55bd673d1902 100644 --- a/haskell/haskell-scientific/haskell-scientific.SlackBuild +++ b/haskell/haskell-scientific/haskell-scientific.SlackBuild @@ -91,7 +91,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 |