diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2012-10-10 18:20:21 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2012-10-10 18:20:21 +0000 |
commit | b7139dede39c54c4d5f376b66f08ce12bd8def9c (patch) | |
tree | 3515128f74bbb1267c3eda0d3a322d013a400eb0 /Mk/bsd.sites.mk | |
parent | d553f23ad3f744db639c7756ccb6f2efd95241d1 (diff) | |
download | ports-b7139dede39c54c4d5f376b66f08ce12bd8def9c.tar.gz ports-b7139dede39c54c4d5f376b66f08ce12bd8def9c.zip |
- Only add GH to MASTER_SITES if not already there [1]
- Allow WRKSRC to be overridden when using USE_GITHUB [2]
PR: ports/171644 [1], ports/171688 [2]
Submitted by: bdrewery
Reviewed by: gahr
Tested by: Exp-run on pointyhat
Notes
Notes:
svn path=/head/; revision=305677
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r-- | Mk/bsd.sites.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 1d0307a74e3f..7c48c26b5b81 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -546,10 +546,11 @@ MASTER_SITE_GET_E+= \ # .if defined(USE_GITHUB) MASTER_SITE_GITHUB+= https://nodeload.github.com/%SUBDIR% +.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} MASTER_SITES+= GH +.endif GH_PROJECT?= ${PORTNAME} GH_TAGNAME?= ${DISTVERSION} -WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} .endif .endif |