Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 04:53:11 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518294 - head/devel/py-python-dtrace
Message-ID:  <201911240453.xAO4rB9T082198@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911240453.xAO4rB9T082198>