aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2018-03-03 14:12:07 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2018-03-03 14:12:07 +0000
commit858103763adf483e01bc7824a3ecc9fa901b2ac5 (patch)
tree6479de7bccf0b4f31ca34ec3ceef9d38789e32a2 /UPDATING
parent846741840b9ddbd0b90d44b0edde7e5c6efc0a7b (diff)
downloadports-858103763adf483e01bc7824a3ecc9fa901b2ac5.tar.gz
ports-858103763adf483e01bc7824a3ecc9fa901b2ac5.zip
UPDATING: Add example for setting default Emacs flavor in make.conf
After Emacs flavors were introduced, users have requested the ability to specify a default flavor for the Emacs ports (editors/emacs and editors/emacs-devel) in make.conf, so add an example to the 20180201 entry. Approved by: ashish Differential Revision: https://reviews.freebsd.org/D14555
Notes
Notes: svn path=/head/; revision=463484
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING10
1 files changed, 9 insertions, 1 deletions
diff --git a/UPDATING b/UPDATING
index fcb41b29aa01..42476530576b 100644
--- a/UPDATING
+++ b/UPDATING
@@ -140,8 +140,16 @@ you update your ports collection, before attempting any port upgrades.
# make FLAVOR=nox install
# make FLAVOR=devel_full
+ An alternative to the default flavor, full, for editors/emacs and
+ editors/emacs-devel can be set in make.conf. For example, to specify nox as
+ the default flavor for both ports, use
+
+ .if ${.CURDIR:M*/editors/emacs*}
+ FLAVOR?=nox
+ .endif
+
For ports using Emacs, an alternative to the default flavor, full,
- can be set in make.conf. For example, to automatically depend on
+ can be also be set in make.conf. For example, to automatically depend on
emacs-nox, use
DEFAULT_VERSIONS+=emacs=nox