pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Do NOT assume that DISTNAME == PKG_NAME just to avo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/894bd66e2602
branches: trunk
changeset: 490363:894bd66e2602
user: jwise <jwise%pkgsrc.org@localhost>
date: Mon Mar 07 17:48:08 2005 +0000
description:
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:
mk/emacs.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 58672ae7b6c2 -r 894bd66e2602 mk/emacs.mk
--- a/mk/emacs.mk Mon Mar 07 17:29:06 2005 +0000
+++ b/mk/emacs.mk Mon Mar 07 17:48:08 2005 +0000
@@ -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_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?
Home |
Main Index |
Thread Index |
Old Index