Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 05:40:56 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r518296 - branches/2019Q4/devel/py-python-dtrace
Message-ID:  <201911240540.xAO5eu1E006167@repo.freebsd.org>

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



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