Date: Sat, 06 Jul 2002 16:35:40 -0600 (MDT) From: "M. Warner Losh" <imp@village.org> To: jerry@thehutt.org Cc: sean@chittenden.org, eculp@encontacto.net, freebsd-mobile@FreeBSD.ORG Subject: Re: bsd-airtools Message-ID: <20020706.163540.20953126.imp@village.org> In-Reply-To: <20020706221743.GA4316@nomad.thehutt.org> References: <20020706143640.F43307@ninja1.internal> <20020706.154819.127704951.imp@village.org> <20020706221743.GA4316@nomad.thehutt.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020706221743.GA4316@nomad.thehutt.org>
Jerry A! <jerry@thehutt.org> writes:
: On Sat, Jul 06, 2002 at 03:48:19PM -0600, M. Warner Losh wrote:
: : In message: <20020706143640.F43307@ninja1.internal>
: : Sean Chittenden <sean@chittenden.org> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020706.163540.20953126.imp>
