View | Details | Raw Unified | Return to bug 204772 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.sites.mk (+6 lines)
Lines 518-523 Link Here
518
#                 Using the name of a branch here is incorrect. It is
518
#                 Using the name of a branch here is incorrect. It is
519
#                 possible to do GH_TAGNAME= GIT_HASH to do a snapshot.
519
#                 possible to do GH_TAGNAME= GIT_HASH to do a snapshot.
520
#                 default: ${DISTVERSION}
520
#                 default: ${DISTVERSION}
521
# GH_PROJECTS   - column-separated account, project, tagname and id
521
#
522
#
522
.if defined(USE_GITHUB)
523
.if defined(USE_GITHUB)
523
.  if defined(GH_TAGNAME) && ${GH_TAGNAME} == master
524
.  if defined(GH_TAGNAME) && ${GH_TAGNAME} == master
Lines 525-530 Link Here
525
		Must use a tag or commit hash so the upstream does \
526
		Must use a tag or commit hash so the upstream does \
526
		not "reroll" as soon as the branch is updated
527
		not "reroll" as soon as the branch is updated
527
.  endif
528
.  endif
529
.  if defined(GH_PROJECTS)
530
GH_ACCOUNT+=	${GH_PROJECTS:@ENTRY@${ENTRY:C,^([^:]*):([^:]*):([^:]*)((:[^:]*)?),\1\4,}@}
531
GH_PROJECT+=	${GH_PROJECTS:@ENTRY@${ENTRY:C,^([^:]*):([^:]*):([^:]*)((:[^:]*)?),\2\4,}@}
532
GH_TAGNAME+=	${GH_PROJECTS:@ENTRY@${ENTRY:C,^([^:]*):([^:]*):([^:]*)((:[^:]*)?),\3\4,}@}
533
.  endif
528
# We are cheating and using backend URLS for Github here. See ports/194898
534
# We are cheating and using backend URLS for Github here. See ports/194898
529
# comment #15 for explanation as to why and how to deal with it if it breaks.
535
# comment #15 for explanation as to why and how to deal with it if it breaks.
530
MASTER_SITE_GITHUB+=		https://codeload.github.com/%SUBDIR%
536
MASTER_SITE_GITHUB+=		https://codeload.github.com/%SUBDIR%

Return to bug 204772