1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

devel/git: Fix options for flavors

Only change OPTIONS_FILE when flavor is not empty or default.  It fixes a
problem saving options on poudriere for default flavor

Reported by:	madpilot
This commit is contained in:
Renato Botelho 2020-11-06 17:19:49 +00:00
parent 4aa9d8d56d
commit d3f6fde578
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554306

View File

@ -74,7 +74,9 @@ OPTIONS_EXCLUDE= GUI SVN GITWEB CONTRIB P4 CVS PERL
OPTIONS_SUB= yes
.if !empty(FLAVOR) && ${FLAVOR:U} != default
OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options
.endif
CONTRIB_DESC= Install contributed scripts
CURL_DESC= Install curl support (provides HTTPS transport)