pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40023: Add emacs23 on editors/emacs/modules.mk



>Number:         40023
>Category:       pkg
>Synopsis:       Add emacs23 on editors/emacs/modules.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 25 11:30:00 +0000 2008
>Originator:     Makoto Fujiwara
>Release:        NetBSD 4.0
>Organization:
KINU Corporation
>Environment:
        
        
System: NetBSD genova 4.0 NetBSD 4.0 (XEN3_DOM0-nopckbc) #0: Wed Jan 23 
15:56:58 JST 2008 
makoto%genoa.i.ki.nu@localhost:/export/tar/usr/src/sys/arch/i386/compile/XEN3_DOM0-nopckbc
 i386
Architecture: i386
Machine: i386
>Description:
editors/emacs/modules.mk may be referenced from serveral
applications even emacs is not really editors/emacs

The one example is wip/emacs-current.
If you build some application on emacs-current, devel/apel
and devel/semi are called. 
They have reference to editors/emacs/modules.mk

misc/bbdb is another part called from emacen.

So, please include emacs23 facility for emacs/modules.mk
Thanks.
>How-To-Repeat:
        cd pkgsrc/wip/wl-current
        make package
>Fix:
Index: modules.mk
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/editors/emacs/modules.mk,v
retrieving revision 1.4
diff -u -r1.4 modules.mk
--- modules.mk  28 Oct 2008 00:17:31 -0000      1.4
+++ 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

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index