www/gitlab-pages: Fix bulk build warning
In the previous commit a duplicate USE_FETCH target was added similar to the one in Mk/Uses/go.mk. However this is possible using a different number and target name compared to what is already predefined as it conflicts. Reported by: bulk build Approved by: portmgr (just-fix-it)
This commit is contained in:
parent
de6c517f8e
commit
8607332fb8
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= gitlab-pages
|
PORTNAME= gitlab-pages
|
||||||
PORTVERSION= 15.8.1
|
PORTVERSION= 15.8.1
|
||||||
|
PORTREVISION= 1
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
|
|
||||||
|
@ -29,8 +30,8 @@ MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-pages/-/raw/v${DISTVERSION}/
|
||||||
DISTFILES+= go.mod
|
DISTFILES+= go.mod
|
||||||
DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME}
|
DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME}
|
||||||
EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//}
|
EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//}
|
||||||
_USES_fetch+= 800:go-post-fetch
|
_USES_fetch+= 900:go-post-fetch-gitlab
|
||||||
go-post-fetch:
|
go-post-fetch-gitlab:
|
||||||
@${ECHO_MSG} "===> Fetching ${PORTNAME} dependencies";
|
@${ECHO_MSG} "===> Fetching ${PORTNAME} dependencies";
|
||||||
@(cd ${DISTDIR}/${DIST_SUBDIR}; \
|
@(cd ${DISTDIR}/${DIST_SUBDIR}; \
|
||||||
[ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \
|
[ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \
|
||||||
|
|
Loading…
Reference in a new issue