aboutsummaryrefslogtreecommitdiff
path: root/net/wistumbler2
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-02-01 05:02:19 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-02-01 05:02:19 +0000
commit272671d1ea04ada3664b4b3b9d29e151c70151c3 (patch)
tree5582ea92683f21edd27e2e8828039e8d6701d216 /net/wistumbler2
parent2e8aecc6288f295365f3c56b7161c5e1add55c2e (diff)
downloadports-272671d1ea04ada3664b4b3b9d29e151c70151c3.tar.gz
ports-272671d1ea04ada3664b4b3b9d29e151c70151c3.zip
Notes
Diffstat (limited to 'net/wistumbler2')
-rw-r--r--net/wistumbler2/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/wistumbler2/Makefile b/net/wistumbler2/Makefile
index f615adb1f6f1..ba0dbe8f96ba 100644
--- a/net/wistumbler2/Makefile
+++ b/net/wistumbler2/Makefile
@@ -34,7 +34,15 @@ MAKE_ENV= PREFIX=${LOCALBASE} USE_GTK=0
# was not a FreeBSD version bump specifically for that. Use the
# nearest one.
.if ${OSVERSION} < 501107
-IGNORE= requires never kernel sources that include /sys/dev/owi/if_ieee80211.h
+IGNORE= requires newer kernel sources
+.endif
+
+post-patch:
+# Abovementioned header was removed. Patch for it.
+# This change is already included in the next version of wistumbler2
+.if ${OSVERSION} >= 700006
+ ${REINPLACE_CMD} -e 's,dev/owi/if_ieee80211.h,net80211/ieee80211.h,g' \
+ ${WRKSRC}/src/stumbler.h
.endif
pre-everything::