freebsd-ports/www/emacs-w3m/files/patch-aclocal.m4
MANTANI Nobutaka e6e185eb33 * Unbreak with both editors/emacs and editors/emacs-devel.
* Change lispdir into ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/w3m.
* Bump PORTREVISION because
  - Chase update of editors/emacs.
  - Plist is changed.

PR:		228677
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2018-06-10 14:19:29 +00:00

30 lines
848 B
Text

--- aclocal.m4.orig 2018-01-16 09:35:31 UTC
+++ aclocal.m4
@@ -78,15 +78,18 @@ AC_DEFUN(AC_PATH_EMACS,
AC_MSG_CHECKING([what a flavor does ${EMACS} have])
AC_EMACS_LISP(flavor,
- (if (featurep (quote xemacs))
- \"XEmacs\"
- (concat \"Emacs \"
- (mapconcat (function identity)
- (nreverse
- (cdr (nreverse
- (split-string emacs-version
- (concat (vector 92 46))))))
- \".\"))),
+ (cond ((featurep (quote xemacs))
+ \"XEmacs\")
+ ((= (length (split-string emacs-version (concat (vector 92 46)))) 2)
+ (concat \"Emacs \" emacs-version))
+ (t
+ (concat \"Emacs \"
+ (mapconcat (function identity)
+ (nreverse
+ (cdr (nreverse
+ (split-string emacs-version
+ (concat (vector 92 46))))))
+ \".\")))),
noecho)
case "${flavor}" in
XEmacs)