Fix build on -current.
Fix English typo.
This commit is contained in:
parent
2e8aecc628
commit
272671d1ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154969
1 changed files with 9 additions and 1 deletions
|
@ -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::
|
||||
|
|
Loading…
Reference in a new issue