svn commit: r518296 - branches/2019Q4/devel/py-python-dtrace
Mark Linimon
linimon at FreeBSD.org
Sun Nov 24 05:40:56 UTC 2019
Author: linimon
Date: Sun Nov 24 05:40:55 2019
New Revision: 518296
URL: https://svnweb.freebsd.org/changeset/ports/518296
Log:
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)
Modified:
branches/2019Q4/devel/py-python-dtrace/Makefile
Directory Properties:
branches/2019Q4/ (props changed)
Modified: branches/2019Q4/devel/py-python-dtrace/Makefile
==============================================================================
--- branches/2019Q4/devel/py-python-dtrace/Makefile Sun Nov 24 05:06:26 2019 (r518295)
+++ branches/2019Q4/devel/py-python-dtrace/Makefile Sun Nov 24 05:40:55 2019 (r518296)
@@ -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>
More information about the svn-ports-branches
mailing list