Date: Tue, 09 Jun 2015 17:02:00 +0200 From: John Marino <freebsd.contact@marino.st> To: Danilo Egea Gondolfo <danilo@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: <5576FFE8.8080105@marino.st> In-Reply-To: <201506091455.t59Etmfh031778@svn.freebsd.org> References: <201506091455.t59Etmfh031778@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5576FFE8.8080105>