Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2018 14:12:07 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463484 - head
Message-ID:  <201803031412.w23EC7hY040545@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Sat Mar  3 14:12:07 2018
New Revision: 463484
URL: https://svnweb.freebsd.org/changeset/ports/463484

Log:
  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

Modified:
  head/UPDATING

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sat Mar  3 12:20:22 2018	(r463483)
+++ head/UPDATING	Sat Mar  3 14:12:07 2018	(r463484)
@@ -140,8 +140,16 @@ you update your ports collection, before attempting an
      # 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803031412.w23EC7hY040545>