aboutsummaryrefslogtreecommitdiff
path: root/net/wistumbler2
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-05-17 07:11:41 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-05-17 07:11:41 +0000
commitf7cacd6a93fc940760f90518bd21fd849f5eb487 (patch)
treef81f4933f57401f34f0ff9391d171e7c5a86bd14 /net/wistumbler2
parent6bae26d0a843fdd7da99f673401951187397222f (diff)
downloadports-f7cacd6a93fc940760f90518bd21fd849f5eb487.tar.gz
ports-f7cacd6a93fc940760f90518bd21fd849f5eb487.zip
Notes
Diffstat (limited to 'net/wistumbler2')
-rw-r--r--net/wistumbler2/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/wistumbler2/Makefile b/net/wistumbler2/Makefile
index 185e4fb234c9..d0fe973ae454 100644
--- a/net/wistumbler2/Makefile
+++ b/net/wistumbler2/Makefile
@@ -24,10 +24,6 @@ MANCOMPRESSED= yes
MAN1= wistumbler2.1
PLIST_FILES= bin/wistumbler2
-.if !exists(/sys/dev/owi/if_ieee80211.h)
-IGNORE= requires kernel sources from at least FreeBSD 5.2
-.endif
-
.if defined(NO_X)
MAKE_ENV= PREFIX=${LOCALBASE} USE_GTK=0
.endif
@@ -36,6 +32,13 @@ MAKE_ENV= PREFIX=${LOCALBASE} USE_GTK=0
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on 4.x"
+.else
+# this port needs the file /sys/dev/owi/if_ieee80211.h, but there
+# was not a FreeBSD version bump specifically for that. Use the
+# nearest one.
+.if ${OSVERSION} < 501107
+IGNORE= requires newer kernel sources that include /sys/dev/owi/if_ieee80211.h
+.endif
.endif
pre-everything::