Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.sanity.mk
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
ERROR+= "${a} is unsupported, please use ${${a}_ALT}" | ERROR+= "${a} is unsupported, please use ${${a}_ALT}" | ||||
.endif | .endif | ||||
.endfor | .endfor | ||||
# Warnings only when DEVELOPER=yes | # Warnings only when DEVELOPER=yes | ||||
.if exists(${.CURDIR}/../../Mk/bsd.port.mk) | .if exists(${.CURDIR}/../../Mk/bsd.port.mk) || ${OVERLAYS:tA:M${.CURDIR:H:H}} == ${.CURDIR:H:H} | ||||
.if ${.CURDIR:H:T} != ${PKGCATEGORY} | .if ${.CURDIR:H:T} != ${PKGCATEGORY} | ||||
DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" | DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" | ||||
.endif | .endif | ||||
.else | .else | ||||
DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing." | DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing." | ||||
.endif | .endif | ||||
.if defined(USE_PERL5) && ${USE_PERL5} == yes | .if defined(USE_PERL5) && ${USE_PERL5} == yes | ||||
▲ Show 20 Lines • Show All 241 Lines • Show Last 20 Lines |