X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fncurses;h=fe8355d5d2440e9f645dcd5f5706730b17538368;hb=8a12114ecc9a0f7d97ab543785a1a758ea4d0973;hp=69433cf74dda81a732ba13deae116f512ac791c2;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage2/pkg/ncurses b/stage2/pkg/ncurses index 69433cf..fe8355d 100644 --- a/stage2/pkg/ncurses +++ b/stage2/pkg/ncurses @@ -1,12 +1,17 @@ #!/bin/bash -CONFIGURE_OPTS="\ - --libdir=/lib \ - --with-shared \ - --without-debug \ - --enable-widec \ - --with-manpage-format=normal \ - ${CONFIGURE_OPTS}" +hvconfig_pre() +{ + CONFIGURE_OPTS="\ + ${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 +24,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