From 7cff5f67d4d2e74832a93215761d1de4758d9bb6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 17 Dec 2007 19:25:38 +0000 Subject: ncurses 5.4: Fix host includes issue for the case ${prefix} != /usr. --- packages/ncurses/ncurses/visibility.patch | 6 +++--- packages/ncurses/ncurses_5.4.bb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/ncurses/ncurses/visibility.patch b/packages/ncurses/ncurses/visibility.patch index 29cac5f1b8..66366ce3ea 100644 --- a/packages/ncurses/ncurses/visibility.patch +++ b/packages/ncurses/ncurses/visibility.patch @@ -2187,14 +2187,14 @@ + CPPFLAGS="-I\$(srcdir)/../include $CPPFLAGS" +fi +if test "$GCC" != yes; then -+ CPPFLAGS="$CPPFLAGS -I\$(includedir)" ++ CPPFLAGS="$CPPFLAGS" +elif test "$includedir" != "/usr/include"; then + if test "$includedir" = '${prefix}/include' ; then + if test $prefix != /usr ; then -+ CPPFLAGS="$CPPFLAGS -I\$(includedir)" ++ CPPFLAGS="$CPPFLAGS" + fi + else -+ CPPFLAGS="$CPPFLAGS -I\$(includedir)" ++ CPPFLAGS="$CPPFLAGS" + fi +fi +AC_SUBST(CPPFLAGS) diff --git a/packages/ncurses/ncurses_5.4.bb b/packages/ncurses/ncurses_5.4.bb index 6da32232af..ac125bf6fe 100644 --- a/packages/ncurses/ncurses_5.4.bb +++ b/packages/ncurses/ncurses_5.4.bb @@ -1,4 +1,4 @@ -PR = "r9" +PR = "r10" SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \ file://visibility.patch;patch=1" -- cgit v1.2.3