aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2018-03-14 07:46:30 +0800
committerbdrewery <bdrewery@FreeBSD.org>2018-03-14 07:46:30 +0800
commit4ca25223cd18a06888055435965ef0486ccec63b (patch)
tree9178f73ffea2ee1aa79bad47ce32fe400c79a68d /Mk
parentdd2ad01f2eabb260b9936464c0ffb1ee539b0172 (diff)
downloadfreebsd-ports-gnome-4ca25223cd18a06888055435965ef0486ccec63b.tar.gz
freebsd-ports-gnome-4ca25223cd18a06888055435965ef0486ccec63b.tar.zst
freebsd-ports-gnome-4ca25223cd18a06888055435965ef0486ccec63b.zip
Don't define FLAVORS if EMACS_NO_DEPENDS is set.
This fixes at least sysutils/lr exposing FLAVORS 'nox full' improperly. Reviewed by: jrm Tested by: jrm
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/emacs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/emacs.mk b/Mk/Uses/emacs.mk
index d7cd893daa17..0d9b99e2cca1 100644
--- a/Mk/Uses/emacs.mk
+++ b/Mk/Uses/emacs.mk
@@ -73,7 +73,7 @@ FLAVORS= full canna nox devel_full devel_nox
.for flavor in ${EMACS_FLAVORS_EXCLUDE}
FLAVORS:= ${FLAVORS:N${flavor}}
.endfor
-.else
+.elif !defined(EMACS_NO_DEPENDS)
FLAVORS= full
.endif