| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 EXTRA_CONFIGURE_ARGS="--disable-database" | 7 EXTRA_CONFIGURE_ARGS="--disable-database" |
| 10 EXTRA_CONFIGURE_ARGS+=" --with-fallbacks=xterm-256color,vt100" | 8 EXTRA_CONFIGURE_ARGS+=" --with-fallbacks=xterm-256color,vt100" |
| 11 EXTRA_CONFIGURE_ARGS+=" --disable-termcap" | 9 EXTRA_CONFIGURE_ARGS+=" --disable-termcap" |
| 12 # Without this ncurses headers will be installed include/ncurses | 10 # Without this ncurses headers will be installed include/ncurses |
| 13 EXTRA_CONFIGURE_ARGS+=" --enable-overwrite" | 11 EXTRA_CONFIGURE_ARGS+=" --enable-overwrite" |
| 14 | 12 |
| 15 if [ "${NACL_GLIBC}" = 1 ]; then | 13 if [ "${NACL_GLIBC}" = 1 ]; then |
| 16 EXTRA_CONFIGURE_ARGS+=" --with-shared" | 14 EXTRA_CONFIGURE_ARGS+=" --with-shared" |
| 17 fi | 15 fi |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 sed -i.bak 's/HAVE_SIGVEC 1/HAVE_SIGVEC 0/' include/ncurses_cfg.h | 33 sed -i.bak 's/HAVE_SIGVEC 1/HAVE_SIGVEC 0/' include/ncurses_cfg.h |
| 36 } | 34 } |
| 37 | 35 |
| 38 | 36 |
| 39 InstallStep() { | 37 InstallStep() { |
| 40 DefaultInstallStep | 38 DefaultInstallStep |
| 41 cd ${NACLPORTS_LIBDIR} | 39 cd ${NACLPORTS_LIBDIR} |
| 42 ln -sf libncurses.a libtermcap.a | 40 ln -sf libncurses.a libtermcap.a |
| 43 cd - | 41 cd - |
| 44 } | 42 } |
| 45 | |
| 46 | |
| 47 PackageInstall | |
| 48 exit 0 | |
| OLD | NEW |