summaryrefslogtreecommitdiff
path: root/Mk/Uses/python.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2018-02-06 20:49:09 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2018-02-06 20:49:09 +0000
commit3036a660bb77ba3108225842d92704a7cb35fa0f (patch)
tree4609c02a12dc45bdff5e7d9d1fe7d6238466b5d2 /Mk/Uses/python.mk
parentUse the correct config file name for duovero and pandaboard (diff)
Remove leading newline to FLAVORS.
Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=461103
Diffstat (limited to 'Mk/Uses/python.mk')
-rw-r--r--Mk/Uses/python.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index b655f13eecb8..767a26d44b7b 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -402,7 +402,11 @@ FLAVORS= ${_ALL_PYTHON_FLAVORS}
. for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT}
_f= py${_v:S/.//}
. if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}}
+.if !empty(FLAVORS)
FLAVORS:= ${FLAVORS} ${_f}
+.else
+FLAVORS:= ${_f}
+.endif
. endif
. endfor
. endif