bash
5.2.37is brokenautoreconfbreaks build- Cross breaks with
LIBS=-lnsssas it links hostman2htmlto crossnsss - Does not link against
libediteven withLIBS=-leditand when usinglibreadline.a; unlikedashandyash - Links against
terminfofromnetbsd-curseson glaucus; is--with-cursesneeded? - Is
bin/bashbugneeded? - Modify
CFLAGSto 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/profilefor 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.shfails to build withyashandokshpossibly due toPOSIXLY_CORRECTexpat: buildconf.sh uses bashlibcaplibedittoybox: hard to patchzlib-ng