svn commit: r518294 - head/devel/py-python-dtrace

Mark Linimon linimon at FreeBSD.org
Sun Nov 24 04:53:11 UTC 2019


Author: linimon
Date: Sun Nov 24 04:53:10 2019
New Revision: 518294
URL: https://svnweb.freebsd.org/changeset/ports/518294

Log:
  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:
  head/devel/py-python-dtrace/Makefile

Modified: head/devel/py-python-dtrace/Makefile
==============================================================================
--- head/devel/py-python-dtrace/Makefile	Sun Nov 24 04:25:00 2019	(r518293)
+++ head/devel/py-python-dtrace/Makefile	Sun Nov 24 04:53:10 2019	(r518294)
@@ -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-head mailing list