freebsd-ports/devel/py-python-dtrace/Makefile
Mark Linimon 8ef943d6e3 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)
2019-11-24 04:53:10 +00:00

22 lines
538 B
Makefile

# $FreeBSD$
PORTNAME= python-dtrace
PORTVERSION= 0.0.9
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gcj21@cl.cam.ac.uk
COMMENT= DTrace consumer for Python based on libdtrace
LICENSE= MIT
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>