FreeBSD Bugzilla – Attachment 2865 Details for
Bug 8289
problems about file locking of emacs/xemacs/xemacs20
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.78 KB, created by
TAOKA Satoshi
on 1998-10-12 18:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
TAOKA Satoshi
Created:
1998-10-12 18:30:00 UTC
Size:
1.78 KB
patch
obsolete
>diff -aruN /usr/ports/editors/emacs/Makefile emacs/Makefile >--- /usr/ports/editors/emacs/Makefile Wed Sep 16 00:39:28 1998 >+++ emacs/Makefile Mon Oct 12 23:18:02 1998 >@@ -18,7 +18,8 @@ > WRKSRC= ${WRKDIR}/emacs-19.34 > GNU_CONFIGURE= yes > USE_GMAKE= yes >-CONFIGURE_ARGS= i386--freebsd --with-x-toolkit >+CONFIGURE_ARGS= i386--freebsd --with-x-toolkit \ >+ --sharedstatedir=/var/run > STRIP= > MAN1= emacs.1 etags.1 ctags.1 > >@@ -32,5 +33,9 @@ > .for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message > install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir > .endfor >+# install emacs.sh into ${PREFIX}/etc/rc.d >+ chmod 1777 /var/run/emacs/lock >+ @${MKDIR} ${PREFIX}/etc/rc.d >+ @${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d > > .include <bsd.port.mk> >diff -aruN /usr/ports/editors/emacs/files/emacs.sh emacs/files/emacs.sh >--- /usr/ports/editors/emacs/files/emacs.sh Thu Jan 1 09:00:00 1970 >+++ emacs/files/emacs.sh Mon Oct 12 23:18:02 1998 >@@ -0,0 +1,10 @@ >+#!/bin/sh >+if [ -d /var/run/emacs/lock ] >+then >+ rm -f /var/run/emacs/lock/* >+else >+ mkdir -p /var/run/emacs/lock >+fi >+chmod 1777 /var/run/emacs/lock >+exit 0 >+ >diff -aruN /usr/ports/editors/emacs/pkg/PLIST emacs/pkg/PLIST >--- /usr/ports/editors/emacs/pkg/PLIST Wed Sep 16 00:39:28 1998 >+++ emacs/pkg/PLIST Mon Oct 12 23:18:02 1998 >@@ -8,6 +8,8 @@ > bin/emacsclient > @exec if [ ! -d %d/share/emacs/site-lisp ]; then mkdir -p %D/share/emacs/site-lisp; fi > @exec if [ ! -d %d/share/emacs/%%EMACS_VERSION%%/site-lisp ]; then mkdir -p %D/share/emacs/%%EMACS_VERSION%%/site-lisp; fi >+@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock >+etc/rc.d/emacs.sh > @comment these two can fail if other ports are installed, no need to > @comment scare user in that case > @unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8289
:
2863
|
2864
| 2865