Index: Mk/bsd.sites.mk =================================================================== --- Mk/bsd.sites.mk +++ Mk/bsd.sites.mk @@ -630,12 +630,12 @@ . endif .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} DISTFILES+= ${DISTNAME}${_GITHUB_EXTRACT_SUFX} .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.