Réglé problème installation directory lesstif
[hvlinux.git] / stage4 / pkg / lesstif
index 78a0092..7fbe368 100644 (file)
@@ -18,14 +18,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: