Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2001 05:40:02 -0700 (PDT)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/29347: audio/esound fails with -ansi
Message-ID:  <200108011240.f71Ce2s51896@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/29347; it has been noted by GNATS.

From: Maxim Sobolev <sobomax@FreeBSD.org>
To: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/29347: audio/esound fails with -ansi
Date: Wed, 01 Aug 2001 15:30:36 +0300

 Dirk Meyer wrote:
 
 > Maxim Sobolev schrieb:,
 >
 > > >         port fails to compile, if "-ansi" is set.
 > >
 > > I wonder what do you expect us to do in this case. There are thousand  ports i
 > > n our collection that wouldn't compile with `-ansi' and it is unreasonably to
 > > expect that somebody will fix 'em all, or even smal fraction of them.
 >
 > out on 225 ports I have compiled, I found only 5 which given an
 > error (not only a warning).
 
 Gmmm, ok, I was probably thinking of BDEFLAGS coupled with -Werror, which is a
 totall killer.:)
 
 > > even if we'd fix some of them somebody will need to maintain and update those
 > > patches from release to release, [...]
 >
 > No I don't think that is necessary, No source should be changed.
 > Just if some ports known to fail with some opions,
 > we can have a single Line in the Makefile:
 >
 > CFLAGS:= ${CFLAGS:S/-ansi//g}   # port doesn't compile with -ansi.
 >
 > That is all we can/might do,
 
 Well, Ok then. It was really not very clear from your PR.  :-/
 
 Though I am not very fond of it because `-pipe -O' is what we support for CFLAGS -
 all other options are completely unsupported and should be a user's problem if
 he/she want to use them. CFLAGS:= ${CFLAGS:S/-ansi//g}might give a wrong impression
 that we support -ansi, while we don't and probably will not.
 
 -Maxim
 

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?200108011240.f71Ce2s51896>