Upgrade to vte-0.38.2
[hvlinux.git] / stage5 / pkg / emacs
index 5ab325d..265ba66 100644 (file)
@@ -2,8 +2,7 @@
 
 hvconfig_pre()
 {
-    CONFIGURE_OPTS=" \
-        ${CONFIGURE_OPTS} \
+    CONFIGURE_OPTS+=" \
         --libexecdir=/usr/sbin \
         --with-x-toolkit=gtk"
 }
@@ -19,10 +18,9 @@ hvbuild_post()
     install -v -m644 ${SCRDIR}/misc/emacs/emacsrc /etc/skel/.emacs
     install -v -m644 ${SCRDIR}/misc/emacs/emacsrc /root/.emacs
 
-    LOCAL_SITE_LIST=/usr/local/share/emacs/site-lisp
-
-    install -v -m644 -d ${LOCAL_SITE_LIST}
-    install -v -m644 ${SCRDIR}/misc/emacs/buffer-cycle.el ${LOCAL_SITE_LIST}
+    install -v -m755 -d ${EMACS_LOCAL_SITE_LISP}
+    install -v -m644 ${SCRDIR}/misc/emacs/php-mode.el \
+        ${EMACS_LOCAL_SITE_LISP}
 
     # Set Emacs as default editor
     sed -i -e "s!^\(EDITOR=\).*!\1emacs!" /etc/profile