bash
autoreconf
breaks build- Cross breaks with
LIBS=-lnsss
as it links hostman2html
to crossnsss
- Does not link against
libedit
even withLIBS=-ledit
and when usinglibreadline.a
; unlikedash
andyash
- Links against
terminfo
fromnetbsd-curses
on glaucus; is--with-curses
needed? - Is
bin/bashbug
needed? - Modify
CFLAGS
to configure:
CFLAGS="-DSYS_BASHRC='\"/etc/bashrc\"' \ -DSYS_BASH_LOGOUT='\"/etc/bash_logout\"' \ -DDEFAULT_PATH_VALUE='\"/usr/bin\"' \ -DSTANDARD_UTILS_PATH='\"/usr/bin\"' \ -DNON_INTERACTIVE_LOGIN_SHELLS \ -DSSH_SOURCE_BASHRC"
- We need a decent
/etc/profile
for bash (also unset TERMCAP?) - Do we need to set
TERMCAP_LIB=/usr/lib/libncursesw.a
(probably not, void does this though) - Does not cross compile well (hardcodes default variables)
- The following packages depend on
bash
:binutils
:ld/genscripts.sh
fails to build withyash
andoksh
possibly due toPOSIXLY_CORRECT
expat
: buildconf.sh uses bashlibcap
libedit
toybox
: hard to patchzlib-ng