*BSD News Article 32752


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.apps
Subject: Re: Netaudio package/port bugs
Date: 12 Jul 1994 14:29:18 GMT
Organization: Montana State University, Bozeman  Montana
Lines: 32
Message-ID: <2vu9bu$kh8@pdq.coe.montana.edu>
References: <2vkuts$82u@ns.mcs.kent.edu> <hastyCsqH3r.In8@netcom.com> <2vpp24$1q1@ns.mcs.kent.edu> <2vrrt9$dfu@ns.mcs.kent.edu>
NNTP-Posting-Host: 153.90.192.29

In article <2vrrt9$dfu@ns.mcs.kent.edu>,
Bret Orsburn <borsburn@mcs.kent.edu> wrote:
>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.

Except that gcc since FreeBSD 1.1 automatically defines __FreeBSD__, and
since the package was compiled on a 1.1 system for 1.1 it should work
correctly.



Nate

-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech.
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       | 
home #: (406) 586-0579       |  Available for contract/otherwise work.