[Box Backup-dev] COMMIT r722 - box/trunk/infrastructure
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Mon, 7 Aug 2006 22:01:31 +0000 (GMT)
Author: chris
Date: 2006-08-07 22:01:26 +0000 (Mon, 07 Aug 2006)
New Revision: 722
Modified:
box/trunk/infrastructure/BoxPlatform.pm.in
Log:
* BoxPlatform.pm.in
- $build_cpu is not used anywhere, and "uname -p" barfs on some platforms,
removed.
Modified: box/trunk/infrastructure/BoxPlatform.pm.in
===================================================================
--- box/trunk/infrastructure/BoxPlatform.pm.in 2006-08-07 21:24:50 UTC (rev 721)
+++ box/trunk/infrastructure/BoxPlatform.pm.in 2006-08-07 22:01:26 UTC (rev 722)
@@ -1,7 +1,7 @@
package BoxPlatform;
use Exporter;
@ISA = qw/Exporter/;
-@EXPORT = qw/$build_os $build_cpu $target_os $make_command $bsd_make $platform_define $platform_cpu $gcc_v3 $product_version $product_name $install_into_dir $sub_make_options $platform_compile_line_extra $platform_link_line_extra $platform_lib_files $platform_exe_ext/;
+@EXPORT = qw/$build_os $target_os $make_command $bsd_make $platform_define $platform_cpu $gcc_v3 $product_version $product_name $install_into_dir $sub_make_options $platform_compile_line_extra $platform_link_line_extra $platform_lib_files $platform_exe_ext/;
BEGIN
{
@@ -9,11 +9,9 @@
# which OS are we building under?
$build_os = `uname`;
chomp $build_os;
- $build_cpu = `uname -p`;
- chomp $build_cpu;
+
# Cygwin Builds usually something like CYGWIN_NT-5.0, CYGWIN_NT-5.1
# Box Backup tried on Win2000,XP only :)
-
$build_os = 'CYGWIN' if $build_os =~ m/CYGWIN/;
$make_command = ($build_os eq 'Darwin') ? 'bsdmake' : ($build_os eq 'SunOS') ? 'gmake' : 'make';