diff options
author | jwise <jwise@pkgsrc.org> | 2005-03-07 17:48:08 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2005-03-07 17:48:08 +0000 |
commit | c7e28bb93bd7e8c05ff6f34f06909f524d78fba6 (patch) | |
tree | 7f8921f7071dade4070aa2409567f8ec11881ed5 /mk | |
parent | 4e5683fbea645d3f9a26074d0e4ad845b529a474 (diff) | |
download | pkgsrc-c7e28bb93bd7e8c05ff6f34f06909f524d78fba6.tar.gz |
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.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/emacs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
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? |