X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fncurses;h=5efb791922c81b013489ffee7a580d13ed1b9b20;hb=362292f8b7f808d3e7d8742fff2b2cdec0a4b171;hp=69433cf74dda81a732ba13deae116f512ac791c2;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage2/pkg/ncurses b/stage2/pkg/ncurses index 69433cf..5efb791 100644 --- a/stage2/pkg/ncurses +++ b/stage2/pkg/ncurses @@ -1,12 +1,16 @@ #!/bin/bash -CONFIGURE_OPTS="\ - --libdir=/lib \ - --with-shared \ - --without-debug \ - --enable-widec \ - --with-manpage-format=normal \ - ${CONFIGURE_OPTS}" +hvconfig_pre() +{ + CONFIGURE_OPTS+=" \ + --libdir=/lib \ + --with-shared \ + --without-debug \ + --enable-pc-files \ + --enable-widec \ + --with-default-terminfo-dir=/usr/share/terminfo \ + --with-manpage-format=normal" +} hvbuild_post() { @@ -19,7 +23,7 @@ hvbuild_post() ln -svfT ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so ln -svfT ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so ln -svfT ../../lib/libformw.so.5 /usr/lib/libformw.so - + # Make our Ncurses compatible for older and non-widec compatible programs can build properly. # Many applications still expect the linker to be able to find # non-wide-character Ncurses libraries. Trick such applications