diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
commit | 34004f51e031966e3fbd210678c5083e196bf3e6 (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /editors/xemacs | |
parent | 6bcc8c586e8d598300da44f38c8ec67a571ea234 (diff) | |
download | pkgsrc-34004f51e031966e3fbd210678c5083e196bf3e6.tar.gz |
Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users. Be DEPENDS to it. This should
address pkg/37146 by Aleksey Cheusov.
While here convert some emacs lisp packages to user-destdir.
Diffstat (limited to 'editors/xemacs')
-rw-r--r-- | editors/xemacs/buildlink3.mk | 8 | ||||
-rw-r--r-- | editors/xemacs/version.mk | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/editors/xemacs/buildlink3.mk b/editors/xemacs/buildlink3.mk index cc22efb5845..86aa1539510 100644 --- a/editors/xemacs/buildlink3.mk +++ b/editors/xemacs/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:40:04 uebayasi Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2008/10/11 09:31:56 uebayasi Exp $ # BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ @@ -13,9 +13,9 @@ BUILDLINK_PACKAGES+= xemacs BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xemacs .if ${XEMACS_BUILDLINK3_MK} == "+" -.include "../../mk/emacs.mk" -BUILDLINK_API_DEPENDS.xemacs+= ${_EMACS_REQD.xemacs214} -BUILDLINK_PKGSRCDIR.xemacs?= ${_EMACS_DEP.xemacs214} +.include "../../editors/emacs/modules.mk" +BUILDLINK_API_DEPENDS.xemacs+= ${_EMACS_REQD} +BUILDLINK_PKGSRCDIR.xemacs?= ${_EMACS_PKGDIR} .endif # XEMACS_BUILDLINK3_MK BUILDLINK_CONTENTS_FILTER.xemacs= ${EGREP} '.*\.el$$|.*\.elc$$' diff --git a/editors/xemacs/version.mk b/editors/xemacs/version.mk new file mode 100644 index 00000000000..7538edd6862 --- /dev/null +++ b/editors/xemacs/version.mk @@ -0,0 +1,9 @@ +# $NetBSD: version.mk,v 1.1 2008/10/11 09:31:56 uebayasi Exp $ + +_EMACS_FLAVOR= xemacs +_EMACS_REQD= xemacs>=21.4<21.5 +_EMACS_PKGDEP.base= xemacs-packages>=1.15:../../editors/xemacs-packages +_EMACS_PKGDEP.leim= + +_EMACS_VERSION_MAJOR= 21 +_EMACS_VERSION_MINOR= 4 |