diff options
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r-- | Mk/bsd.sites.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 9648dbdb17cf..3ee142fd0881 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -634,12 +634,12 @@ _GITHUB_REV= 0 DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV} . endif _GITHUB_EXTRACT_SUFX= .tar.gz -# If there are non default groups -. if !empty(_GITHUB_GROUPS:NDEFAULT) # Put the DEFAULT distfile first -. if !${USE_GITHUB:Mnodefault} +. if !${USE_GITHUB:Mnodefault} && defined(_GITHUB_MUST_SET_DISTNAME) DISTFILES+= ${DISTNAME}${_GITHUB_EXTRACT_SUFX} -. endif +. endif +# If there are non default groups +. if !empty(_GITHUB_GROUPS:NDEFAULT) # Then for each of the remaining groups, add DISTFILES and MASTER_SITES # entries with the correct group and create {WRKSRC,DISTNAME,DISTFILES}_group # helper variables. |