[svk-commit] r3095 - tags/2.2.0/pkg

nobody at bestpractical.com nobody at bestpractical.com
Tue Sep 23 06:05:47 EDT 2008


Author: clsung
Date: Tue Sep 23 06:05:46 2008
New Revision: 3095

Modified:
   tags/2.2.0/pkg/buildsvk.pl

Log:
- for Linux (ubuntu) libaprutil-1.so requiring libpq

Modified: tags/2.2.0/pkg/buildsvk.pl
==============================================================================
--- tags/2.2.0/pkg/buildsvk.pl	(original)
+++ tags/2.2.0/pkg/buildsvk.pl	Tue Sep 23 06:05:46 2008
@@ -58,7 +58,7 @@
 
 $build->build_module('libwin32') if $^O eq 'MSWin32';
 
-$build->build_module($_) for qw(Scalar-List-Utils Class-Autouse version Sub-Uplevel Test-Simple Test-Exception Data-Hierarchy PerlIO-via-dynamic PerlIO-via-symlink SVN-Simple PerlIO-eol Algorithm-Diff Algorithm-Annotate Pod-Escapes Pod-Simple IO-Digest TimeDate Getopt-Long Encode PathTools YAML-Syck Locale-Maketext-Simple App-CLI List-MoreUtils Path-Class Class-Data-Inheritable Class-Accessor UNIVERSAL-require File-Temp Log-Log4perl Time-Progress LWP-UserAgent);
+$build->build_module($_) for qw(Scalar-List-Utils Class-Autouse version Sub-Uplevel Test-Simple Test-Exception Data-Hierarchy PerlIO-via-dynamic PerlIO-via-symlink SVN-Simple PerlIO-eol Algorithm-Diff Algorithm-Annotate Pod-Escapes Pod-Simple IO-Digest TimeDate Getopt-Long Encode PathTools YAML-Syck Locale-Maketext-Simple App-CLI List-MoreUtils Path-Class Class-Data-Inheritable Class-Accessor UNIVERSAL-require File-Temp Log-Log4perl Time-Progress libwww-perl);
 $build->build_module($_) for qw(Locale-Maketext-Lexicon TermReadKey IO-Pager);
 $build->build_module($_) for qw(File-chdir SVN-Mirror);
 $build->build_module($_) for qw(FreezeThaw);
@@ -96,7 +96,9 @@
     my $output = `ldd \`which svn\``;
     for ($output =~ m/^.*$/mg) {
 	my ($lib, $file) = m/(\S.*?) => (\S.*?)\s/ or next;
-	if ($lib =~ m/libsvn_*/) {
+	if ($lib =~ m/libsvn_*/
+	    || $lib =~  m/libpq\./ # for aprutil in Linux (maybe just ubuntu?)
+	) {
 	warn "$lib $file";
 	    copy($file, $self->build_dir);
 	}


More information about the svk-commit mailing list