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

Mathieu Arnold mat at FreeBSD.org
Mon Nov 25 17:36:50 UTC 2019


On Sun, Nov 24, 2019 at 04:53:11AM +0000, Mark Linimon wrote:
> 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

Mmmm, this feels weird, having the kernel sources installed and having a
device enabled don't seem to be connected at all.

>  .include <bsd.port.mk>
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20191125/3d5b4ec4/attachment.sig>


More information about the svn-ports-all mailing list