Someone introduced a make warning

Joe Marcus Clarke marcus at marcuscom.com
Wed Jul 6 01:53:50 GMT 2005


On Tue, 2005-07-05 at 21:36 -0400, Kris Kennaway wrote:
> On Wed, Jul 06, 2005 at 03:31:24AM +0200, Florent Thoumie wrote:
> > Le Mardi 05 juillet 2005 ? 21:02 -0400, Kris Kennaway a ?crit :
> > > At some point while walking the ports tree one gets this on 6.0:
> > > 
> > > "Makefile", line 48: warning: junk after .else ignored 'if ${ARCH} == "i386"'
> > > "Makefile", line 50: warning: junk after .else ignored 'if ${ARCH} == "i386"'
> > > "Makefile", line 50: warning: junk after .else ignored 'if ${ARCH} == "i386"'
> > > "Makefile", line 41: warning: junk after .else ignored 'if ${ARCH} == "i386"'
> > > 
> > > I think this only appeared in the last few days.  Can anyone track it
> > > down?
> > 
> > 	Hi Kris,
> > 
> > 	This has been introduced in rev 1.47 of cond.c (about 2 months 
> > 	ago). This is harmless, just saying that .elif should be used 
> > 	instead of .else if. It can easily be removed (if necessary).
> > 
> > 	Ask harti for more information.
> 
> You misunderstand.  Prior to a few days ago the ports collection did
> not contain such warnings (all were fixed a few months ago shortly
> after harti's commit).  Someone added them with a recent ports commit.

It was maho in math/blacs, math/scalapack, math/sdpa, and math/sdpara.
I had a check in portlint for .elseif usage, but not ".else if".  I've
now expanded the check in my CVS repo.  If this is urgent, I can fix the
ports, or maho can do it when he comes back online.

Joe

> 
> Kris
> 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050705/894cc266/attachment.bin


More information about the freebsd-ports mailing list