diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:23 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:45 +0700 |
commit | 6895c9b497c52eecc20b7048ca402949da873958 (patch) | |
tree | 3a7f87c954ef17c657a756fad093865c4938b0b7 /haskell | |
parent | cd0224899d1a5f8b9084f06189580a5aeaa7ef1f (diff) |
haskell/haskell-primitive: 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-primitive/haskell-primitive.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-primitive/haskell-primitive.SlackBuild b/haskell/haskell-primitive/haskell-primitive.SlackBuild index 0c664b1277d4..a5c2c7331da0 100644 --- a/haskell/haskell-primitive/haskell-primitive.SlackBuild +++ b/haskell/haskell-primitive/haskell-primitive.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 |