[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-cvs
Subject: svn commit: r10086 - trunk/subversion/bindings/swig/perl/native
From: breser () tigris ! org
Date: 2004-06-27 21:07:01
Message-ID: 200406272107.i5RL71J12561 () morbius ! ch ! collab ! net
[Download RAW message or body]
Author: breser
Date: Sun Jun 27 16:06:53 2004
New Revision: 10086
Modified:
trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
Log:
Tweaks to the perl build process.
* subversion/bindings/swig/perl/native/Makefile.PL.in
We should be using $(MAKE) to call other Makefiles.
It's really silly to shell out of Perl to run a Perl script. Inline
the call to ccopts().
Modified: trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/bindings/swig/perl/native/Make \
file.PL.in?view=diff&rev=10086&p1=trunk/subversion/bindings/swig/perl/native/Makefile. \
PL.in&r1=10085&p2=trunk/subversion/bindings/swig/perl/native/Makefile.PL.in&r2=10086 \
==============================================================================
--- trunk/subversion/bindings/swig/perl/native/Makefile.PL.in (original)
+++ trunk/subversion/bindings/swig/perl/native/Makefile.PL.in Sun Jun 27 16:06:53 \
2004 @@ -1,5 +1,6 @@
#!/usr/bin/perl
use ExtUtils::MakeMaker;
+use ExtUtils::Embed;
use Config;
use Cwd 'abs_path';
@@ -37,7 +38,7 @@
my %config = (
ABSTRACT => 'Perl bindings for Subversion',
CCFLAGS => join(' ', $apr_cflags, $apu_cflags,
- `$perl_path -MExtUtils::Embed -e ccopts`,
+ ccopts(),
" -I$swig_srcdir/perl/libsvn_swig_perl",
" -I$svnlib_srcdir/include",
" -I$swig_srcdir -g"),
@@ -76,7 +77,7 @@
package MY ;
my $module_c_files = join (' ',map { "svn_$_.c"} @modules);
- my $module_make_commands = join ('',map {"\tmake -f Makefile.$_\n"} @modules);
+ my $module_make_commands = join ('',map {"\t\$(MAKE) -f Makefile.$_\n"} \
@modules);
my $flags;
if ($swig_version >= 103020) {
---------------------------------------------------------------------
To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
For additional commands, e-mail: svn-help@subversion.tigris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic