Skip to content
Browse files

Build nurse with UTF support

  • Loading branch information...
1 parent ebc4417 commit 645923a4d5284d0638ca772450f732464c73464b @Alexpux Alexpux committed
Showing with 10 additions and 5 deletions.
  1. +5 −1 scripts/ncurses.sh
  2. +1 −1 scripts/python-2.7.3.sh
  3. +1 −1 scripts/python-2.7.4.sh
  4. +1 −1 scripts/python-2.7.5.sh
  5. +1 −1 scripts/python-3.3.0.sh
  6. +1 −0 scripts/readline.sh
View
6 scripts/ncurses.sh
@@ -78,7 +78,7 @@ PKG_CONFIGURE_FLAGS=(
--enable-sp-funcs
--enable-term-driver
--enable-interop
- --disable-widec
+ --enable-widec
--without-trace
#
CFLAGS="\"$COMMON_CFLAGS -D__USE_MINGW_ANSI_STDIO=1\""
@@ -101,4 +101,8 @@ PKG_INSTALL_FLAGS=(
install
)
+PKG_EXECUTE_AFTER_INSTALL=(
+ "cp -f $LIBS_DIR/lib/libncursesw.a $LIBS_DIR/lib/libncurses.a"
+)
+
# **************************************************************************
View
2 scripts/python-2.7.3.sh
@@ -105,7 +105,7 @@ PKG_EXECUTE_AFTER_PATCH=(
}
LIBFFI_VERSION=$( grep 'PKG_VERSION=' $TOP_DIR/scripts/libffi.sh | sed 's|PKG_VERSION=||' )
-MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncurses -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
+MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncursesw -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
# Workaround for conftest error on 64-bit builds
export ac_cv_working_tzset=no
View
2 scripts/python-2.7.4.sh
@@ -114,7 +114,7 @@ PKG_EXECUTE_AFTER_PATCH=(
}
LIBFFI_VERSION=$( grep 'PKG_VERSION=' $TOP_DIR/scripts/libffi.sh | sed 's|PKG_VERSION=||' )
-MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncurses -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
+MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncursesw -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
# Workaround for conftest error on 64-bit builds
export ac_cv_working_tzset=no
View
2 scripts/python-2.7.5.sh
@@ -116,7 +116,7 @@ PKG_EXECUTE_AFTER_PATCH=(
}
LIBFFI_VERSION=$( grep 'PKG_VERSION=' $TOP_DIR/scripts/libffi.sh | sed 's|PKG_VERSION=||' )
-MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncurses -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
+MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncursesw -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
# Workaround for conftest error on 64-bit builds
export ac_cv_working_tzset=no
View
2 scripts/python-3.3.0.sh
@@ -111,7 +111,7 @@ PKG_EXECUTE_AFTER_PATCH=(
}
LIBFFI_VERSION=$( grep 'PKG_VERSION=' $TOP_DIR/scripts/libffi.sh | sed 's|PKG_VERSION=||' )
-MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncurses -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
+MY_CPPFLAGS="-I$LIBSW_DIR/include -I$LIBSW_DIR/include/ncursesw -I$PREREQW_DIR/$BUILD_ARCHITECTURE-zlib-$LINK_TYPE_SUFFIX/include"
# Workaround for conftest error on 64-bit builds
export ac_cv_working_tzset=no
View
1 scripts/readline.sh
@@ -65,6 +65,7 @@ PKG_CONFIGURE_FLAGS=(
#
$LINK_TYPE_SHARED
#
+ --with-curses
CFLAGS="\"$COMMON_CFLAGS -D__USE_MINGW_ANSI_STDIO=1\""
CXXFLAGS="\"$COMMON_CXXFLAGS\""
CPPFLAGS="\"$COMMON_CPPFLAGS\""

0 comments on commit 645923a

Please sign in to comment.
Something went wrong with that request. Please try again.