- Enable DSR only when the needed version of netmap is available.

This commit is contained in:
Danilo Egea Gondolfo 2015-06-10 01:43:28 +00:00
parent 028218a62f
commit 2cbc1d9e94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389017

View File

@ -39,7 +39,8 @@ DEBUG_CONFIGURE_ENABLE= debugging
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 901000
# DSR needs a newer version of the netmap's API
.if ${OSVERSION} < 903000 || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1001000)
CONFIGURE_ARGS+= --without-dsr
.endif