develooper Front page | perl.perl5.build | Postings from March 2004

Re: runmakedepend patch

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
March 19, 2004 11:28
Subject:
Re: runmakedepend patch
Message ID:
20040319202309.02F8.H.M.BRAND@hccnet.nl
On Fri 19 Mar 2004 18:51, Andrew Dougherty <doughera@lafayette.edu> wrote:
> On Wed, 17 Mar 2004, H.Merijn Brand wrote:
> 
> > In implementing Nicholas' wish, I hit a point where I reach success for
> > 'metaconfig -m' which creates exactly what I want, but I'd like to silence
> > metalint too, which complaints like:
> >
> > --8<---
> > :
> >     Your private U/modified/yacc.U overrides the public one.
> > Extracting dependency lists from 814 units...
> > "/pro/3gl/CPAN/perl-current/U/all/Finish.U", line 41 (?S:): variable '$runmakedepend' is not listed on ?MAKE: line.
> 
> I don't have a set of units set up to check, but I think this error
> message is really the key issue.  Try changing the MAKE line to
> ?MAKE:runmakedepend Finish: Chk_MANI Extract Myread Oldsym Magic_h cat rm contains \
>        test package make

Tried that. This will cause a cyclic dependency error.

> That informs metaconfig (and metalint) that this unit is responsible for
> creating and manipulating the runmakedepend variable.  If you do that,
> then you should be able to get rid of the two extra lines
> > +?INIT:runmakedepend=''
> > +?LINT:extern runmakedepend
> (It should also automagically arrange for the runmakedepend=$runmakedepend
> line at the end of Configure too.)
> 
> I think that will work.

The proposed patch /generated/ exactly what I wanted. Only metaling won't stop
complaining. I'll dig further.

> On a related note, unless I'm missing the point, you can already do
> this with existing Configure switches:
> 
> 	Configure -dE
> 	Configure -S

It's about enabling it in ONE call.

> The first will stop just after producing config.sh.  The second will
> do all the other .SH file extractions, but won't run make depend.
> 
> Hope this helps.

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on  HP-UX 10.20 & 11.00, 11i,
   AIX 4.3, SuSE 8.2, and Win2k.           http://www.cmve.net/~merijn/
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About