Re: %ENV warnings during builds - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: %ENV warnings during builds
Date
Msg-id 4E132CFA.6060604@dunslane.net
Whole thread Raw
In response to Re: %ENV warnings during builds  (Brar Piening <brar@gmx.de>)
Responses Re: %ENV warnings during builds
List pgsql-hackers

On 07/05/2011 02:30 AM, Brar Piening wrote:
> schrieb Andrew Dunstan:
>> Hmm, I missed that you had done this. Here are two replacement perl
>> scripts I knocked up, but haven't yet tested. One of the things about
>> them is that they remove knowledge of particular .l and .y files. and
>> instead get the required invocation options from the relevant
>> Makefiles. I think that's a lot better than the horrid hackery we
>> have in the batch files.
>
> Yep - they certainly look ways less messy than what I've created as a
> simple perl version of the batch files.
>
> But I get "Undefined subroutine &main::dirname called at
> src\tools\msvc\pgflex.pl line 36." if I try to build with them.
>
> I'll update my patch to remove my versions once they are fixed and
> commited.


Try attached instead.

The bat wrappers just need to read:

    @echo off
    @perl src/tools/msvc/pgflex.pl %*

and

    @echo off
    @perl src/tools/msvc/pgbison.pl %*

cheers

andrew




Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
Next
From: Robert Haas
Date:
Subject: Re: Range Types, constructors, and the type system