Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2015 16:56:26 -0300
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        marino@freebsd.org, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r388942 - head/net/pen
Message-ID:  <557744EA.4070900@FreeBSD.org>
In-Reply-To: <5576FFE8.8080105@marino.st>
References:  <201506091455.t59Etmfh031778@svn.freebsd.org> <5576FFE8.8080105@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help


On 06/09/15 12:02, John Marino wrote:
> 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.
I don't think so. net/pen needs a specific version of the netmap API, 
the headers exist on 8.4 but in a different version. Actually my patch 
is wrong anyway, the port works on fbsd >= 9.3, but not on 10.0, and 
fbsd >= 10.1.
>
> John
>
>
>
>




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