Update X.org packages (fixes bug with intel driver)
[hvlinux.git] / stage2 / pkg / ncurses
index 69433cf..5efb791 100644 (file)
@@ -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