Finally make ncurses-5.7 corctly build:
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Mar 24 17:39:45 2009 +0000 (2009-03-24)
changeset 1267ca485f06bfa7
parent 1266 5e5910270991
child 1268 5594b05bc2d8
Finally make ncurses-5.7 corctly build:
- find the executables extension (needed under some OS, like Winblows)
- build tic in //
- simplify the make and install command lines

/trunk/scripts/build/debug/300-gdb.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
scripts/build/debug/300-gdb.sh
     1.1 --- a/scripts/build/debug/300-gdb.sh	Tue Mar 24 17:37:52 2009 +0000
     1.2 +++ b/scripts/build/debug/300-gdb.sh	Tue Mar 24 17:39:45 2009 +0000
     1.3 @@ -158,13 +158,17 @@
     1.4              --with-build-cflags="${CT_CFLAGS_FOR_HOST}"         \
     1.5              ${ncurses_opts}
     1.6  
     1.7 +        # Under some operating systems (eg. Winblows), there is an
     1.8 +        # extension appended to executables. Find that.
     1.9 +        tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;')
    1.10 +
    1.11          CT_DoLog EXTRA "Building ncurses tic"
    1.12 -        CT_DoExecLog ALL make -C "${CT_BUILD_DIR}/build-ncurses-build-tic/include"
    1.13 -        CT_DoExecLog ALL make -C "${CT_BUILD_DIR}/build-ncurses-build-tic/progs" tic
    1.14 +        CT_DoExecLog ALL make ${PARALLELMFLAGS} -C include
    1.15 +        CT_DoExecLog ALL make ${PARALLELMFLAGS} -C progs "tic${tic_ext}"
    1.16  
    1.17          CT_DoLog EXTRA "Installing ncurses tic"
    1.18          CT_DoExecLog ALL install -d -m 0755 "${CT_PREFIX_DIR}/bin"
    1.19 -        CT_DoExecLog ALL install -m 0755 "${CT_BUILD_DIR}/build-ncurses-build-tic/progs/tic" "${CT_PREFIX_DIR}/bin/tic"
    1.20 +        CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_PREFIX_DIR}/bin"
    1.21  
    1.22          CT_EndStep
    1.23