1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Set ALL_TARGET=bootstrap to byte-compile patched elisp files.

Add WITHOUT_XIM and WITHOUT_MENUBAR_FONTSET switch.
Make dired output in Japanese locale the same as FreeBSD ls.

Submitted by:	kuriyama, yoichi
Reviewed by:	knu
This commit is contained in:
MANTANI Nobutaka 2001-12-06 12:29:41 +00:00
parent a553b7fb34
commit b0eea5e5bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51135
2 changed files with 30 additions and 5 deletions

View File

@ -7,15 +7,11 @@
PORTNAME= emacs
PORTVERSION= 21.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PATCH_SITES= http://www.nijino.com/ari/patches/
PATCHFILES= emacs-21.1-fontset-20011109.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= nobutaka@FreeBSD.org
.if !defined(WITHOUT_X11)
@ -28,13 +24,23 @@ USE_XLIB= yes
USE_XPM= yes
.endif
.if !defined(WITHOUT_MENUBAR_FONTSET)
PATCH_SITES= http://www.nijino.com/ari/patches/
PATCHFILES= emacs-21.1-fontset-20011109.patch.gz
PATCH_DIST_STRIP= -p1
.endif
USE_AUTOCONF= yes
USE_GMAKE= yes
ALL_TARGET= bootstrap
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x=no
.endif
.if defined(WITHOUT_XIM)
CONFIGURE_ARGS+= --without-xim
.endif
MAN1= ctags.1 emacs.1 etags.1 gfdl.1
PLIST_SUB= EMACS_VER=${PORTVERSION} EMACS_ARCH=${CONFIGURE_TARGET}

View File

@ -0,0 +1,19 @@
--- lisp/dired.el.orig Sat Sep 22 01:41:58 2001
+++ lisp/dired.el Wed Dec 5 20:06:04 2001
@@ -1532,6 +1532,7 @@
"\\|" yyyy s s "?"
"\\|" s "?" yyyy
"\\)"))
+ (freebsd-ja (concat s mm "/" dd s "\\(" HH:MM "\\|" s yyyy "\\)"))
(japanese
(concat mm k "?" s dd k "?" s "+"
"\\(" HH:MM "\\|" yyyy k "?" "\\)")))
@@ -1543,7 +1544,7 @@
;; This avoids recognizing `jservice 10 1024' as a date in the line:
;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host
(concat ".*[0-9][kMGTPEZY]?"
- s "\\(" western "\\|" japanese "\\|" iso "\\)" s))
+ s "\\(" western "\\|" freebsd-ja "\\|" japanese "\\|" iso "\\)" s))
"Regular expression to match up to the file name in a directory listing.
The default value is designed to recognize dates and times
regardless of the language.")