pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/emacs-w3m Fix an issue that bothered me ever since...
details: https://anonhg.NetBSD.org/pkgsrc/rev/df61908b107a
branches: trunk
changeset: 530429:df61908b107a
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Jun 30 13:21:13 2007 +0000
description:
Fix an issue that bothered me ever since I started working on the
bulk build code. emacs-w3m uses EMACS_FLAVOR and EMACS_VERSION_MAJOR
to conditionally add a build time dependency on Mule-UCS. The latter
variable is not set when no emacs package is installed though and
therefore a dependency got added between scan phase and build phase,
possibly resulting in multiple builds of Mule-UCS in older
(non-pbulk) bulk builds. Fix this by switching to EMACS_TYPE for
the logic.
diffstat:
www/emacs-w3m/Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r d222af333601 -r df61908b107a www/emacs-w3m/Makefile
--- a/www/emacs-w3m/Makefile Sat Jun 30 12:58:59 2007 +0000
+++ b/www/emacs-w3m/Makefile Sat Jun 30 13:21:13 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/02/19 09:22:30 jnemeth Exp $
+# $NetBSD: Makefile,v 1.20 2007/06/30 13:21:13 joerg Exp $
DISTNAME= emacs-w3m-1.4.4
PKGREVISION= 1
@@ -21,8 +21,7 @@
DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=10.3:../../devel/apel
.endif
-.if ${EMACS_FLAVOR} == "emacs" && \
- (${EMACS_VERSION_MAJOR} == 21 || ${EMACS_VERSION_MAJOR} == 22)
+.if ${EMACS_TYPE} == "emacs21" || ${EMACS_TYPE} == "emacs22"
BUILD_DEPENDS+= ${EMACS_PKGNAME_PREFIX}Mule-UCS>=0.84:../../editors/mule-ucs
.endif
Home |
Main Index |
Thread Index |
Old Index