Return to BSD News archive
Newsgroups: comp.os.386bsd.apps Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!swrinde!pipex!uknet!cf-cm!isl-gate.elsy.cf.ac.uk!paul From: paul@isl-gate.elsy.cf.ac.uk (Paul) Subject: Re: Netaudio package/port bugs Message-ID: <1994Jul12.201106.4033@cm.cf.ac.uk> Sender: paul@isl-gate.elsy.cf.ac.uk (Paul) Organization: ELSYM, University of Wales, College of Cardiff, UK. References: <2vkuts$82u@ns.mcs.kent.edu> <hastyCsqH3r.In8@netcom.com> <2vpp24$1q1@ns.mcs.kent.edu> <2vrrt9$dfu@ns.mcs.kent.edu> Date: Tue, 12 Jul 1994 20:11:04 +0000 Lines: 31 In article <2vrrt9$dfu@ns.mcs.kent.edu>, Bret Orsburn <borsburn@mcs.kent.edu> wrote: >In article <2vpp24$1q1@ns.mcs.kent.edu> borsburn@mcs.kent.edu (Bret Orsburn) writes: > >At the risk of introducing a red herring, I note that the original Makefiles >that appear in the port sources include the setting: > > BOOTSTRAPCFLAGS = -DFreeBSD > >which should, of course, be: > > BOOTSTRAPCFLAGS = -D__FreeBSD__ > >This error is propagated: > > STD_CPP_DEFINES = -traditional -DFreeBSD > STD_DEFINES = -DFreeBSD > >Since __FreeBSD__ appears in the netaudio sources, the port on freebsd will >not have been correctly compiled for FreeBSD. > >Note: A quick look at the uses of __FreeBSD__ in the sources suggests that >this error is independent of the errors in my original report. __FreeBSD__ is defined by default by the FreeBSD compiler. Either the -DFreeBSD is a hangover from previous days or it's a mistaken attempt to get it to compile properly on non-FreeBSD, BSD type systems. -- Paul Richards, FreeBSD core team member. Intelligent Systems Laboratory, ELSYM ,University of Wales, College Cardiff Internet: paul@isl.cf.ac.uk, JANET(UK): RICHARDSDP@CARDIFF.AC.UK