Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
WRKSRC?= ${WRKDIR}/${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT} | WRKSRC?= ${WRKDIR}/${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT} | ||||
.endif | .endif | ||||
.if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault) | .if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault) | ||||
.if defined(WRKSRC) | .if defined(WRKSRC) | ||||
DEV_WARNING+= "You are using USE_GITLAB and WRKSRC is set which is wrong. Set GL_PROJECT, GL_ACCOUNT correctly, and/or set WRKSRC_SUBDIR and remove WRKSRC entirely." | DEV_WARNING+= "You are using USE_GITLAB and WRKSRC is set which is wrong. Set GL_PROJECT, GL_ACCOUNT correctly, and/or set WRKSRC_SUBDIR and remove WRKSRC entirely." | ||||
.endif | .endif | ||||
WRKSRC?= ${WRKDIR}/${GL_PROJECT}-${GL_COMMIT}-${GL_COMMIT} | WRKSRC?= ${WRKDIR}/${GL_PROJECT}-${GL_COMMIT} | ||||
.endif | .endif | ||||
# If the distname is not extracting into a specific subdirectory, have the | # If the distname is not extracting into a specific subdirectory, have the | ||||
# ports framework force extract into a subdirectory so that metadata files | # ports framework force extract into a subdirectory so that metadata files | ||||
# do not get in the way of the build, and vice-versa. | # do not get in the way of the build, and vice-versa. | ||||
.if defined(NO_WRKSUBDIR) | .if defined(NO_WRKSUBDIR) | ||||
# Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, | # Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, | ||||
# the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the | # the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the | ||||
▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines |