diff options
author | Martin Ebourne <martin@ebourne.me.uk> | 2006-02-11 02:28:52 +0000 |
---|---|---|
committer | Martin Ebourne <martin@ebourne.me.uk> | 2006-02-11 02:28:52 +0000 |
commit | 61494e43ae5a9b505b7e9e2b62f30e6462e450e8 (patch) | |
tree | 667174688c351066446a38665251df29178a5915 /infrastructure/BoxPlatform.pm.in | |
parent | d6dc2eac174530497786a7e4604db051f44a1d46 (diff) |
Workaround for autoconf's unexpanded directory substitutions vs. the current Makefile not being able to expand them itself.
Diffstat (limited to 'infrastructure/BoxPlatform.pm.in')
-rw-r--r-- | infrastructure/BoxPlatform.pm.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/infrastructure/BoxPlatform.pm.in b/infrastructure/BoxPlatform.pm.in index 10fbe7cd..9567d585 100644 --- a/infrastructure/BoxPlatform.pm.in +++ b/infrastructure/BoxPlatform.pm.in @@ -13,8 +13,8 @@ BEGIN 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/; + + $build_os = 'CYGWIN' if $build_os =~ m/CYGWIN/; $make_command = ($build_os eq 'Darwin') ? 'bsdmake' : ($build_os eq 'SunOS') ? 'gmake' : 'make'; $bsd_make = ($build_os ne 'Linux' && $build_os ne 'CYGWIN' && $build_os ne "SunOS"); @@ -34,10 +34,10 @@ BEGIN $product_name = <VERSION>; chomp $product_name; close VERSION; - + # where to put the files - $install_into_dir = '@bindir@'; - + $install_into_dir = '@bindir_expanded@'; + # if it's Darwin, if($build_os eq 'Darwin') { |