svn commit: r388942 - head/net/pen
John Marino
freebsd.contact at marino.st
Tue Jun 9 15:02:06 UTC 2015
On 6/9/2015 16:55, Danilo Egea Gondolfo wrote:
> Author: danilo
> Date: Tue Jun 9 14:55:47 2015
> New Revision: 388942
> URL: https://svnweb.freebsd.org/changeset/ports/388942
>
> Log:
> - Update to 0.29.0
> - Disable dsr option if netmap is not supported
>
> Modified:
> head/net/pen/Makefile
> head/net/pen/distinfo
>
> Modified: head/net/pen/Makefile
> ==============================================================================
> --- head/net/pen/Makefile Tue Jun 9 14:32:00 2015 (r388941)
> +++ head/net/pen/Makefile Tue Jun 9 14:55:47 2015 (r388942)
> @@ -2,7 +2,7 @@
> # $FreeBSD$
>
> PORTNAME= pen
> -PORTVERSION= 0.28.0
> +PORTVERSION= 0.29.0
> CATEGORIES= net
> MASTER_SITES= http://siag.nu/pub/pen/
>
> @@ -37,7 +37,13 @@ KQUEUE_CONFIGURE_ON= --with-kqueue
> KQUEUE_CONFIGURE_OFF= --with-poll
> DEBUG_CONFIGURE_ENABLE= debugging
>
> +.include <bsd.port.pre.mk>
> +
> +.if ${OSVERSION} < 901000
> +CONFIGURE_ARGS+= --without-dsr
> +.endif
> +
Is there a way "dsr support" can be detected rather than using OSVERSION
numbers? for example, so the presence or absence of a header indicate
whether netmap is available? If so, I suggest using "if !exists
(header)" or something like that.
John
More information about the svn-ports-head
mailing list