Réglé problème installation directory lesstif
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Thu, 19 May 2011 03:57:03 +0000 (03:57 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Thu, 19 May 2011 03:57:03 +0000 (03:57 +0000)
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: