diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-15 23:07:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-15 23:07:47 +0100 |
commit | b83c514e2e2c0b1706a17c504307d806e159647d (patch) | |
tree | 29172ba7094f6f4cfa08f6531f0bab52ffb42ad1 /package/ncurses | |
parent | e2502ab7b4adfc6b09c273a2f5487d8a0ed559bf (diff) |
update asterisk, fix aufs2 compile
Diffstat (limited to 'package/ncurses')
-rw-r--r-- | package/ncurses/Makefile | 1 | ||||
-rw-r--r-- | package/ncurses/patches/patch-configure | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index db71137ce..35da4cb09 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -21,6 +21,7 @@ CONFIGURE_STYLE= gnu CONFIGURE_ENV+= ac_cv_linux_vers=2 CONFIGURE_ARGS+= --without-cxx \ --without-cxx-binding \ + --with-build-cc=${HOSTCC} \ --without-progs \ --with-fallbacks \ --without-ada \ diff --git a/package/ncurses/patches/patch-configure b/package/ncurses/patches/patch-configure new file mode 100644 index 000000000..1ef36c733 --- /dev/null +++ b/package/ncurses/patches/patch-configure @@ -0,0 +1,16 @@ +--- ncurses-5.7.orig/configure 2008-10-26 02:04:38.000000000 +0200 ++++ ncurses-5.7/configure 2009-11-15 22:44:41.000000000 +0100 +@@ -3985,13 +3985,6 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 + + : ${BUILD_CC:='${CC}'} + +- if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then +- { { echo "$as_me:3989: error: Cross-build requires two compilers. +-Use --with-build-cc to specify the native compiler." >&5 +-echo "$as_me: error: Cross-build requires two compilers. +-Use --with-build-cc to specify the native compiler." >&2;} +- { (exit 1); exit 1; }; } +- fi + + else + : ${BUILD_CC:='${CC}'} |