[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shells/bash (was: Re: CVS: cvs.openbsd.org: ports)



Christian Weisgerber <naddy_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org> wrote:

> Modified files:
> 	shells/bash    : Makefile distinfo 
> 	shells/bash/patches: patch-configure 
> 
> Log message:
...
> Remove static FLAVOR.

Maybe I should explain myself.

What do you need a statically linked bash for?  Seriously?

For single user mode, init(8) explicitly asks you what shell to
run.  So even if you have /usr/local/bin/bash as root's shell and
/usr is unavailable, you can extract yourself from that.

If you want to copy a static bash to, say, /bin/bash, that's outside
the scope of the ports system.  We don't need to support this.

As people have pointed out in the past, the dependencies for
bash-static were dubious.  Instead of the LIB_DEPENDS on gettext
that MODULES will produce on dynamic archs, it should have
BUILD/RUN_DEPENDS.  Oh, and properly the static FLAVOR shouldn't
even exist on static archs.  Sure, I could add .if's for all that,
but why bother?

Look at FreeBSD's ports/shells/bash/Makefile for an example how to
make a straightforward port disproportionally complicated by
introducing all sorts of marginal knobs.

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de



Visit your host, monkey.org