MFH: r518294

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 05:40:55 +00:00
parent 1756ef3774
commit aca4b322b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=518296

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>