pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/riece Sort EMACS_VERSIONS_ACCEPTED.
details: https://anonhg.NetBSD.org/pkgsrc/rev/30831d207bb9
branches: trunk
changeset: 534660:30831d207bb9
user: uebayasi <uebayasi%pkgsrc.org@localhost>
date: Mon Oct 29 04:38:47 2007 +0000
description:
Sort EMACS_VERSIONS_ACCEPTED.
Sort variables depending on ${EMACS_FLAVOR} (emacs or xemacs). Prefer
assignment to conditional. Include mk/emacs.mk lazily.
No functional changes intended.
diffstat:
chat/riece/Makefile | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diffs (42 lines):
diff -r bfaa745d06a7 -r 30831d207bb9 chat/riece/Makefile
--- a/chat/riece/Makefile Mon Oct 29 04:37:51 2007 +0000
+++ b/chat/riece/Makefile Mon Oct 29 04:38:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/05/30 13:46:13 uebayasi Exp $
+# $NetBSD: Makefile,v 1.13 2007/10/29 04:38:47 uebayasi Exp $
#
DISTNAME= riece-4.0.0
@@ -11,7 +11,7 @@
COMMENT= IRC client for Emacs
EMACS_VERSIONS_ACCEPTED= \
- emacs21 emacs21nox emacs22 emacs22nox xemacs214
+ emacs22 emacs22nox emacs21 emacs21nox xemacs214
WRKSRC= ${WRKDIR}/${DISTNAME:C|[^0-9]$||}
@@ -19,15 +19,14 @@
INFO_FILES= # PLIST
EMACS_MODULES= base
+# --with-emacs=... or --with-xemacs=...
+CONFIGURE_ARGS+= --with-${EMACS_FLAVOR}=${EMACS_BIN:Q}
+CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${EMACS_FLAVOR}}
+
+# Riece digs sub directory.
+CONFIGURE_ARGS.emacs= --with-lispdir=${EMACS_LISPPREFIX:Q}
+CONFIGURE_ARGS.xemacs= --with-packagedir=${EMACS_LISPPREFIX:C|/lisp\$||}
+
.include "../../mk/emacs.mk"
-.if ${EMACS_FLAVOR} == "emacs"
-CONFIGURE_ARGS+= --with-emacs=${EMACS_BIN:Q}
-.elif ${EMACS_FLAVOR} == "xemacs"
-CONFIGURE_ARGS+= --with-xemacs=${EMACS_BIN:Q}
-CONFIGURE_ARGS+= --with-packagedir=${EMACS_LISPPREFIX:C|/lisp\$||}
-.endif
-# Riece digs sub directory.
-CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX:Q}
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index