Skip to content

Commit 55c7504

Browse files
authored
Simplify ncurses build to only wide version
Removed narrow version build process for ncurses.
1 parent 1247b7c commit 55c7504

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

build/pkgs/ncurses/spkg-install.in

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,7 @@ fi
77

88
cd src
99

10-
# Ncurses cannot build narrow and wide (unicode, --enable-widec)
11-
# versions in one go. Need to compile twice. Note that Python's curses
12-
# module will want the wide version, and readline the narrow version.
13-
14-
###################################################
15-
mkdir narrow
16-
cd narrow
17-
ln -s ../configure .
18-
19-
echo "Configuring ncurses (narrow)..."
20-
sdh_configure --with-termlib \
21-
--with-shared \
22-
--without-normal \
23-
--without-ada \
24-
--disable-rpath-hack \
25-
--enable-overwrite \
26-
--with-pkg-config-libdir="$SAGE_LOCAL/lib/pkgconfig" \
27-
--enable-pc-files \
28-
--without-cxx \
29-
--without-cxx-binding \
30-
"$DEBUG_CONFIGURE_FLAG"
31-
32-
echo "Building ncurses (narrow)..."
33-
sdh_make
34-
35-
echo "Installing ncurses (narrow)..."
36-
sdh_make_install
37-
38-
cd .. # leave narrow
39-
10+
# Ncurses is built with wide version(unicode, --enable-widec) Now.
4011
###################################################
4112
mkdir wide
4213
cd wide

0 commit comments

Comments
 (0)