develooper Front page | perl.php.sandwich.dev | Postings from November 2008

Re: [svn:PHP-Sandwich] r12056 - PHP-Sandwich/trunk

Thread Previous
From:
David E. Wheeler
Date:
November 10, 2008 09:25
Subject:
Re: [svn:PHP-Sandwich] r12056 - PHP-Sandwich/trunk
Message ID:
0C764797-7863-460D-BBAA-EDC3C87EEC32@kineticode.com
On Nov 10, 2008, at 12:30 AM, Andreas Faafeng wrote:

> David E. Wheeler wrote:
>> On Nov 7, 2008, at 12:22 AM, aff@cvs.perl.org wrote:
>>> +my $prefix = shift @ARGV || ($conf{prefix});
>> I don't think that this is the way to do it, because  
>> ExtUtils::MakeMaker supports other options to be passed on the  
>> command-line, like LDFLAGS and LIB.
>
> Would something like this be ok?
>
> -my $prefix = shift @ARGV || ($conf{prefix});
> +my $prefix = $ENV{PHP_PREFIX} || ($conf{prefix});

Yes, exactly.

Best,

David


Thread Previous


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