summaryrefslogtreecommitdiff
path: root/ncurses/ncurses_5.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'ncurses/ncurses_5.3.oe')
-rw-r--r--ncurses/ncurses_5.3.oe15
1 files changed, 13 insertions, 2 deletions
diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe
index cb67f1daa5..c7c895772f 100644
--- a/ncurses/ncurses_5.3.oe
+++ b/ncurses/ncurses_5.3.oe
@@ -24,12 +24,23 @@ EXTRA_OECONF=--with-shared \
--enable-termcap \
--without-cxx-binding \
--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo \
- --enable-overwrite \
- --program-prefix=
+ --enable-overwrite
export BUILD_CC := ${BUILD_CC}
export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
export BUILD_LDFLAGS=
+do_configure_prepend () {
+ if [ -e aclocal.m4 -a ! -e acinclude.m4 ]; then
+ cat aclocal.m4 > acinclude.m4
+ fi
+}
+
+do_configure () {
+# override this function to avoid the autoconf/automake/aclocal/autoheader
+# calls for now
+ oe_runconf
+}
+
do_compile () {
oe_runmake BUILD_LDFLAGS="" 'BUILD_CCFLAGS=${BUILD_CCFLAGS}'
}