1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Prevent failure deep in the build if dtrace is not installed:

dtrace_cython/consumer.c:611:10: fatal error: 'sys/dtrace.h' file not found

Present a more informative message instead.

This affects (only some?) of the package building machines, e.g., for
powerpc64.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-11-24 04:53:10 +00:00
parent f37d5d5de1
commit 8ef943d6e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518294

View File

@ -15,4 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python zip
USE_PYTHON= autoplist distutils cython cython_run
.if !exists(${SRC_BASE}/sys/cddl/contrib/opensolaris/uts/common/dtrace.h)
IGNORE= you must have "device dtrace" included in your kernel to build this package
.endif
.include <bsd.port.mk>