mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Uses/kmod: Only IGNORE when src is not available in build target
This enables to fetch and checksum on a host without src, for example, a distfile mirroring service. Reviewed by: rene Differential Revision: https://reviews.freebsd.org/D30345
This commit is contained in:
parent
f783260c1c
commit
939745d4c3
@ -19,7 +19,7 @@ _DEBUG_KMOD= yes
|
||||
IGNORE= USES=kmod takes either no arguments or 'debug'
|
||||
.endif
|
||||
|
||||
.if !exists(${SRC_BASE}/sys/Makefile)
|
||||
.if !exists(${SRC_BASE}/sys/Makefile) && target(build)
|
||||
IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user