svn commit: r484429 - in head/net: . libfabric

Mathieu Arnold mat at FreeBSD.org
Thu Nov 8 07:54:24 UTC 2018


On Thu, Nov 08, 2018 at 06:51:51AM +0000, Yuri Victorovich wrote:
> +OPTIONS_DEFINE=		VERBS
> +OPTIONS_SUB=		yes
> +
> +VERBS_DESC=		Build 'verbs' provider
> +VERBS_CONFIGURE_ENABLE=	verbs
> +
> +.if exists(/usr/include/infiniband/verbs.h) # some earlier FreeBSD 11 systems don't have it
> +OPTIONS_DEFAULT+=	VERBS
> +.else
> +VERBS_BROKEN=		infiniband/verbs.h not available on your system
> +.endif

Instead of having the port BROKEN, it would probably be better to put
the whole options block in the .if.

-- 
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/20181108/b8bdf084/attachment-0001.sig>


More information about the svn-ports-all mailing list