logo

overlay

My (experimental) gentoo overlay
commit: a3fe5900265a3ee489aa31769a533a0cdd9c7c9d
parent: 45ec7a18aa3deba38b39e9c60c5705638c9698e5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 16 Apr 2019 19:58:53 +0200

app-shells/mksh: Fix USE=lksh build

Diffstat:

Mapp-shells/mksh/mksh-57.ebuild7++++---
Mapp-shells/mksh/mksh-9999.ebuild7++++---
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/app-shells/mksh/mksh-57.ebuild b/app-shells/mksh/mksh-57.ebuild @@ -31,14 +31,15 @@ src_compile() { # we want to build static with klibc if use static; then export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\"" - # TODO: Ask baselayout to replace mksh with lksh instead + + # Note: lksh should be used as a replacement to /bin/sh instead of mksh if use lksh then export CPPFLAGS="${CPPFLAGS} -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED" sh Build.sh -r -L || die - else - sh Build.sh -r || die fi + + sh Build.sh -r || die } src_install() { diff --git a/app-shells/mksh/mksh-9999.ebuild b/app-shells/mksh/mksh-9999.ebuild @@ -31,14 +31,15 @@ src_compile() { # we want to build static with klibc if use static; then export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\"" - # TODO: Ask baselayout to replace mksh with lksh instead + + # Note: lksh should be used as a replacement to /bin/sh instead of mksh if use lksh then export CPPFLAGS="${CPPFLAGS} -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED" sh Build.sh -r -L || die - else - sh Build.sh -r || die fi + + sh Build.sh -r || die } src_install() {