[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tamago on emacs22
In message <20070623.143124.39156134.taca@back-street.net>
on Sat, 23 Jun 2007 14:31:24 +0900 (JST),
Takahiro Kambe <taca@back-street.net> wrote:
> > Log Message:
> > leim for Emacs 22 is always installed with the base. Nothing additional is
> > needed.
> これってeditor/tamagoは、emacs22の場合はleimに依存をなくせば、そのまま
> 行けるのでしょうか?
行けました。
こんな感じですね。
--
神戸 隆博 / Takahiro Kambe
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/editors/tamago/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile 20 Mar 2006 05:27:50 -0000 1.12
+++ Makefile 24 Jun 2007 04:39:13 -0000
@@ -12,8 +12,12 @@
GNU_CONFIGURE= yes
# XXX please someone adjust paths and PLIST for XEmacs...
-EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
-EMACS_MODULES+= leim
+EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 emacs22
.include "../../mk/emacs.mk"
+
+.if ${EMACS_VERSION_MAJOR} < 22
+EMACS_MODULES+= leim
+.endif
+
.include "../../mk/bsd.pkg.mk"