-
Notifications
You must be signed in to change notification settings - Fork 17
/
BUILD
58 lines (47 loc) · 2.11 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
(
# Seems that ncurses-5.5 has problems with garbage in /usr/share/terminfo
# Note: ncurses-5.5 also has all the "screen" files for terminfo, so no recompile is needed
rm -rf /usr/share/terminfo &&
# ************************ WARNING *************************
# DO NOT MESS WITH THE CONFIGURE STUFF here unless you
# really know what you're doing! We chose the lib location
# specifically so we could link ncurses to bash which is
# needed at init time! If you move it you could break your
# system!
unset CC CXX &&
set -x &&
./configure --build=$BUILD \
--prefix=/usr \
--libdir=/lib \
--with-normal \
--with-shared \
--mandir=/usr/share/man \
--with-manpage-format=gzip \
--disable-termcap \
--enable-colorfgbg \
--with-terminfo-dirs=/usr/share/terminfo \
$OPTS &&
default_make &&
# devoke_installwatch &&
set +x &&
# Now to make nucurses wide
make clean &&
unset CC CXX &&
set -x &&
./configure --build=$BUILD \
--prefix=/usr \
--libdir=/lib \
--with-normal \
--with-shared \
--includedir=/usr/include/ncursesw \
--mandir=/usr/share/man \
--with-manpage-format=gzip \
--disable-termcap \
--enable-colorfgbg \
--with-terminfo-dirs=/usr/share/terminfo \
--enable-widec \
$OPTS &&
set +x &&
default_make &&
gather_docs ANNOUNCE TODO
) > $C_FIFO 2>&1