Re: bsd-airtools

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            Jerry A! <[email protected]> writes:
: On Sat, Jul 06, 2002 at 03:48:19PM -0600, M. Warner Losh wrote:
: : In message: <[email protected]>
: :             Sean Chittenden <[email protected]> writes:
: : : > I use them all the time on my -current laptop.  I've had to minorly
: : : > hack things to get them to compile, but that's changing bat/common.h
: : : > to dev/wi/if_wavelan_ieee.h.
: : : 
: : : Umm... there a reason why a port of this hasn't been made?  I'd gladly
: : : hack together the port if someone here would commit it.  :~)  -sc
: : 
: : I'll commit it if you put it together.  I'll make sure that it
: : complies with the current port guidelines and all those fussy things
: : that portmgr likes to have in place :-)
: 
: I was just hacking on something like this today.
: 
: The biggest issues that I saw were the need to put in a bunch of "if
: ${OSVERSION}" to keep track of being '< 4.6' (mark as FORBIDDEN = kernel
: needs to be manually patched), and then another one to differentiate
: between when if_wavelan_ieee.h was moved from /usr/include/machine to
: /usr/include/dev/wi.

Actually, for that you lose.  If you don't have the new dev/wi you
can't use airtools.

: Warner, do you have the ${OSVERSION} tags for the header changes, or
: should one just use ".if exists(/usr/include/dev/wi/..."?.  Also, were
: all the appropriate bits in the /usr/include/machine/if_wavelan_ieee.h
: file?

I'd just put

.if !exists(/usr/include/dev/wi/if_wavelean_ieee.h)
FORBIDDEN=You need to upgrade
.endif

since the required symbols aren't in the include/machine version.

Warner

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.