diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/bash/bash.inc | 8 | ||||
-rw-r--r-- | packages/bash/bash_3.2.bb | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/packages/bash/bash.inc b/packages/bash/bash.inc index b67e8bbe39..dd2a180bb1 100644 --- a/packages/bash/bash.inc +++ b/packages/bash/bash.inc @@ -12,13 +12,19 @@ bindir = "/bin" sbindir = "/sbin" EXTRA_OECONF = "--with-ncurses" -export CC_FOR_BUILD = "${BUILD_CC}" +export RM="echo" do_configure () { gnu-configize oe_runconf } +do_compile_prepend() { + cd builtins + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -I${S}/include -I${S} -o mkbuiltins mkbuiltins.c + cd ${S} +} + pkg_postinst () { touch $D${sysconfdir}/shells grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells diff --git a/packages/bash/bash_3.2.bb b/packages/bash/bash_3.2.bb index 883df50194..dc3485514c 100644 --- a/packages/bash/bash_3.2.bb +++ b/packages/bash/bash_3.2.bb @@ -1,5 +1,6 @@ require bash.inc -PR = "r4" + +PR = "r5" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-001;patch=1;pnum=0 \ |