{emacs-w3m,wl}-current need editor/emacs/modules.mk change

Makoto Fujiwara <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <yfmiqqlxvsy.wl%[email protected]>
Hi, I have recently imported following to cvs based package,
   wip/emacs-w3m-current
   wip/wl-current
but wip/Makefile is not updated for these two yet.

To make those two packages,  I believe following is necessary.
 
(1) update editors/emacs/modules.mk

(2) add two files as:
    wip/emacs-current/versions.mk
    wip/emacs-current/buildlink3.mk

I will attach the patch for (1) and file for versions.mk,
and
wip/emacs-current/buildlink3.mk may be the same as
    editors/emacs/buildlink3.mk 
   
Please comment or just update (1), and then I will add (2),
thanks.
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: editors/emacs/modules.mk
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/editors/emacs/modules.mk,v
retrieving revision 1.4
diff -u -r1.4 modules.mk
--- editors/emacs/modules.mk	28 Oct 2008 00:17:31 -0000	1.4
+++ editors/emacs/modules.mk	16 Nov 2008 04:05:37 -0000
@@ -194,7 +194,8 @@
 _SYS_VARS.emacs=	EMACS_BIN EMACS_ETCPREFIX EMACS_FLAVOR \
 			EMACS_INFOPREFIX EMACS_LISPPREFIX \
 			EMACS_PKGNAME_PREFIX \
-			EMACS_VERSION_MAJOR EMACS_VERSION_MINOR
+			EMACS_VERSION_MAJOR EMACS_VERSION_MINOR \
+			EMACS_VERSION_MICRO
 _DEF_VARS.emacs=	_EMACS_TYPE _EMACS_PKGBASE
 BUILD_DEFS+=		${_USER_VARS.emacs}
 BUILD_DEFS_EFFECTS+=	${_SYS_VARS.emacs}
@@ -206,7 +207,7 @@
 #
 
 _EMACS_VERSIONS_ALL= \
-	emacs20 emacs21 emacs21nox emacs22 emacs22nox \
+	emacs20 emacs21 emacs21nox emacs22 emacs22nox emacs23\
 	xemacs214 xemacs214nox xemacs215 xemacs215nox
 
 _EMACS_PKGDIR_MAP= \
@@ -215,6 +216,7 @@
 	emacs21nox@../../editors/emacs21-nox11 \
 	emacs22@../../editors/emacs \
 	emacs22nox@../../editors/emacs-nox11 \
+	emacs23@../../wip/emacs-current \
 	xemacs214@../../editors/xemacs \
 	xemacs214nox@../../editors/xemacs-nox11 \
 	xemacs215@../../editors/xemacs-current \
@@ -322,7 +324,7 @@
 
 .if defined(EMACS_BUILDLINK)
 _EMACS_DIR=	${BUILDLINK_DIR}/share/emacs
-ALL_ENV+=	EMACSLOADPATH=${_EMACS_DIR}/${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}/lisp:${_EMACS_DIR}/site-lisp
+ALL_ENV+=	EMACSLOADPATH=${_EMACS_DIR}/${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}.${_EMACS_VERSION_MICRO}/lisp:${_EMACS_DIR}/site-lisp
 
 .include	"${_EMACS_PKGDIR}/buildlink3.mk"
 .endif

--- /dev/null	2008-11-18 16:50:22.000000000 +0900
+++ wip/emacs-current/version.mk	2008-11-16 11:12:52.000000000 +0900
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+_EMACS_FLAVOR=	emacs
+_EMACS_REQD=	emacs>=23
+_EMACS_PKGDEP.base=
+_EMACS_PKGDEP.leim=
+
+_EMACS_VERSION_MAJOR=	23
+_EMACS_VERSION_MINOR=	0
+_EMACS_VERSION_MICRO=	60
+

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.