svn commit: r388942 - head/net/pen

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Jun 9 19:55:09 UTC 2015



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
>
>
>
>



More information about the svn-ports-all mailing list