From 2cbc1d9e940bf53ea3bbd5c5b045d53110d2007a Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Wed, 10 Jun 2015 01:43:28 +0000 Subject: - Enable DSR only when the needed version of netmap is available. --- net/pen/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/pen/Makefile b/net/pen/Makefile index 08bc342ef8a0..6de0adb80dc5 100644 --- a/net/pen/Makefile +++ b/net/pen/Makefile @@ -39,7 +39,8 @@ DEBUG_CONFIGURE_ENABLE= debugging .include -.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 -- cgit