aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2015-06-10 09:43:28 +0800
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2015-06-10 09:43:28 +0800
commit2cbc1d9e940bf53ea3bbd5c5b045d53110d2007a (patch)
tree3fce0d70de899dcbe5b2e3026ac8f42e867b57f4 /net
parent028218a62f7ecc6a82c8fd6299deb3fdeacc79d0 (diff)
downloadfreebsd-ports-gnome-2cbc1d9e940bf53ea3bbd5c5b045d53110d2007a.tar.gz
freebsd-ports-gnome-2cbc1d9e940bf53ea3bbd5c5b045d53110d2007a.tar.zst
freebsd-ports-gnome-2cbc1d9e940bf53ea3bbd5c5b045d53110d2007a.zip
- Enable DSR only when the needed version of netmap is available.
Diffstat (limited to 'net')
-rw-r--r--net/pen/Makefile3
1 files changed, 2 insertions, 1 deletions
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 <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