pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/emacs editors/emacs/modules.mk: remove explici...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d605943d0233
branches: trunk
changeset: 379322:d605943d0233
user: dholland <dholland%pkgsrc.org@localhost>
date: Sat May 14 21:57:01 2022 +0000
description:
editors/emacs/modules.mk: remove explicit CONFLICTS
There's no need for CONFLICTS between the xemacs and emacs versions of
the same elisp package unless the PLISTs overlap, and if they do (most
don't because they install into different subtrees), that fact is
sufficient.
As suggested by PR 39886, a long long time ago.
diffstat:
editors/emacs/modules.mk | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 843b39460c14 -r d605943d0233 editors/emacs/modules.mk
--- a/editors/emacs/modules.mk Sat May 14 21:56:42 2022 +0000
+++ b/editors/emacs/modules.mk Sat May 14 21:57:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.30 2022/04/07 10:35:28 ryoon Exp $
+# $NetBSD: modules.mk,v 1.31 2022/05/14 21:57:01 dholland Exp $
#
# This Makefile fragment handles Emacs Lisp Packages (== ELPs).
#
@@ -12,8 +12,9 @@
# XEmacs
# ->${PREFIX}/lib/xemacs/site-packages/lisp/foo/...
#
-# * You can't install an ELP for both Emacs and XEmacs
-# simultaneously.
+# * You can't necessarily install an ELP for both Emacs and XEmacs
+# simultaneously, though because of the above path difference many
+# do not conflict with one another.
#
# * XEmacs packages' names are prefixed by "xemacs-".
#
@@ -259,13 +260,11 @@
_EMACS_INFODIR.emacs= ${PKGINFODIR}
_EMACS_LISPDIR.emacs= share/emacs/site-lisp
_EMACS_PKGNAME_PREFIX.emacs=
-_EMACS_CONFLICTS.emacs= xemacs-${PKGBASE}-[0-9]*
_EMACS_ETCDIR.xemacs= lib/xemacs/site-packages/etc
_EMACS_INFODIR.xemacs= lib/xemacs/site-packages/info
_EMACS_LISPDIR.xemacs= lib/xemacs/site-packages/lisp
_EMACS_PKGNAME_PREFIX.xemacs= xemacs-
-_EMACS_CONFLICTS.xemacs= ${PKGBASE:C|^xemacs-||}-[0-9]*
#
# Version decision
@@ -299,7 +298,6 @@
#
DEPENDS+= ${_EMACS_REQD}:${_EMACS_PKGDIR}
-CONFLICTS+= ${_EMACS_CONFLICTS.${_EMACS_FLAVOR}}
EMACS_MODULES?=
.for _mod_ in ${EMACS_MODULES}
Home |
Main Index |
Thread Index |
Old Index