diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-02-01 13:02:19 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-02-01 13:02:19 +0800 |
commit | 547c848d125c5c0473a703bbe9a7cf5b6979ffad (patch) | |
tree | cf8450ce1d8ed5dcf3f59be214fbcd3ae6352198 /net | |
parent | bf520d743771107fce1c2beb7402a426bb02569a (diff) | |
download | freebsd-ports-gnome-547c848d125c5c0473a703bbe9a7cf5b6979ffad.tar.gz freebsd-ports-gnome-547c848d125c5c0473a703bbe9a7cf5b6979ffad.tar.zst freebsd-ports-gnome-547c848d125c5c0473a703bbe9a7cf5b6979ffad.zip |
Fix build on -current.
Fix English typo.
Diffstat (limited to 'net')
-rw-r--r-- | net/wistumbler2/Makefile | 10 |
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:: |