summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-03-04 02:34:01 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-03-04 02:34:01 +0000
commit96f80934724ea6507682588b2d8bbdc7e40a1803 (patch)
tree21611361a144c1f364e672d64fa0144f4ac5b8eb
parent7292390de5903b96e1f9798fbd8ae8a4ec65b85c (diff)
Fix for perl changes. makebuildenv now works with $(PERL) when executing autogen code from Makefile.extras.
Still not working fully though - execute permission lost on all substituted scripts.
-rwxr-xr-xinfrastructure/makebuildenv.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in
index 29479558..f70321a7 100755
--- a/infrastructure/makebuildenv.pl.in
+++ b/infrastructure/makebuildenv.pl.in
@@ -58,6 +58,7 @@ while(<FINDAUTOGEN>)
my $dir = $1;
open FL,$file or die "Can't open $_ for reading";
my %vars;
+ $vars{PERL} = "@PERL@";
my $do_cmds = 0;
while(<FL>)
{
@@ -497,7 +498,7 @@ __E
CXX = g++
AR = ar
RANLIB = ranlib
-PERL = \@PERL\@
+PERL = "@PERL@"
.ifdef RELEASE
CXXFLAGS = -DNDEBUG $release_flags -Wall $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""
OUTBASE = ../../release