From c7e28bb93bd7e8c05ff6f34f06909f524d78fba6 Mon Sep 17 00:00:00 2001 From: jwise Date: Mon, 7 Mar 2005 17:48:08 +0000 Subject: Do NOT assume that DISTNAME == PKG_NAME just to avoid using :=. Doing so broke any package (such as matlab-mode) where these were not equal, and in a particularly damaging and non-obvious way. --- mk/emacs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/emacs.mk b/mk/emacs.mk index 6fbe60470b5..a204b742727 100644 --- a/mk/emacs.mk +++ b/mk/emacs.mk @@ -1,4 +1,4 @@ -# $NetBSD: emacs.mk,v 1.16 2003/09/02 06:59:46 jlam Exp $ +# $NetBSD: emacs.mk,v 1.17 2005/03/07 17:48:08 jwise Exp $ # # A Makefile fragment for Emacs Lisp packages. # @@ -175,7 +175,7 @@ EMACS_BIN= ${PREFIX}/bin/xemacs EMACS_PKG_VERSION= ${_EMACS_VERSION_XEMACS_FULL:C|^.*-||} EMACS_LISPPREFIX= ${PREFIX}/lib/xemacs/site-packages/lisp PKGNAME_PREFIX= xemacs- -PKGNAME= ${PKGNAME_PREFIX}${DISTNAME} +PKGNAME:= ${PKGNAME_PREFIX}${PKGNAME} CONFLICTS+= ${PKGBASE:C|^xemacs-||}-[0-9]* .endif # strip out nb? -- cgit v1.2.3