Date: Fri, 18 Dec 1998 12:44:54 +0900 From: okazaki@be.to To: kkennawa@physics.adelaide.edu.au Cc: ports@FreeBSD.ORG Subject: Re: Canonical way to detect 3.0? Message-ID: <19981218124454X.okazaki@be.to> In-Reply-To: Your message of "Fri, 18 Dec 1998 12:41:44 %2B1030 (CST)" <Pine.OSF.4.05.9812181238190.19172-100000@bragg> References: <Pine.OSF.4.05.9812181238190.19172-100000@bragg>
next in thread | previous in thread | raw e-mail | index | archive | help
In Message-ID: <Pine.OSF.4.05.9812181238190.19172-100000@bragg> Kris Kennaway <kkennawa@physics.adelaide.edu.au> wrote : > On Fri, 18 Dec 1998, Kris Kennaway wrote: > > > For ports which need to be patched to work on 3.0, what is the recommended > > compiler variable to use in patching the sourcecode (I need to #ifdef out an > > #include). This particular port (audio/ascd) was broken by the CAM changes, > > apparently (no scsi.h any more). A way audio/tosha/patches/patch-ab have taken is a good example. > Okay, I half-answered my question: #ifdef __FreeBSD_version >= 30000x If you use __FreeBSD_version, don't forget to include /usr/include/osreldate.h. :-) Tetsurou Treat yourself right. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981218124454X.okazaki>