Upgrade stage4 xorg packages
[hvlinux.git] / stage4 / pkg / lesstif
index 78a0092..2c9db5b 100644 (file)
@@ -2,8 +2,7 @@
 
 hvconfig_pre()
 {
-    CONFIGURE_OPTS="\
-        ${CONFIGURE_OPTS} \
+    CONFIGURE_OPTS+=" \
         --prefix=/usr \
         --sysconfdir=/etc/X11 \
         --disable-debug \
@@ -18,14 +17,17 @@ hvconfig_post()
 {
     sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@" \
         ${LFS_TMP}/${PACKAGE}/clients/Motif-2.1/mwm/Makefile
+}
 
-    export rootdir=/usr/share/doc/${PACKAGE}
+hvbuild()
+{
+    cd ${LFS_TMP}/${PACKAGE}
+    ${HVMAKE} rootdir=/usr/share/doc/${PACKAGE}
+    ${HVMAKE} rootdir=/usr/share/doc/${PACKAGE} install
 }
 
 hvbuild_post()
 {
-    unset rootdir
-
     # Applicatons that utilize Xorg libraries often, and incorrectly, expect to
     # find configuration files in /usr/lib/X11. While still the root
     # user, create a compatibility symlink with the following command: