diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-05-02 16:36:26 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-02 17:21:47 +0700 |
commit | e4148dd3cce959fb1013b2603581aa3f4793a8d7 (patch) | |
tree | 76253782a4a818a8d4827fa753d015c5c7aa90f1 | |
parent | 3db96d8013da6162350e0c5d856f50042233b57e (diff) |
haskell/haskell-tagged: 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-tagged/haskell-tagged.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-tagged/haskell-tagged.SlackBuild b/haskell/haskell-tagged/haskell-tagged.SlackBuild index d9de84af9455e..7c789377ccfd9 100644 --- a/haskell/haskell-tagged/haskell-tagged.SlackBuild +++ b/haskell/haskell-tagged/haskell-tagged.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 |