Ticket #5365: OptionalPackages-BasicCommandLineTools.patch

File OptionalPackages-BasicCommandLineTools.patch, 841 bytes (added by mmadia, 15 years ago)
  • build/jam/OptionalPackages

     
    9898
    9999
    100100# BasicCommandLineTools
    101 if [ IsOptionalHaikuImagePackageAdded BasicCommandLineTools ]
    102         && $(TARGET_ARCH) = x86 {
    103     # sed
    104     InstallOptionalHaikuImagePackage sed-4.2.1-r1a1-x86-gcc2-2009-08-30
    105         : $(baseURL)/sed-4.2.1-r1a1-x86-gcc2-2009-08-30.zip
    106         :
    107         : true ;
     101if [ IsOptionalHaikuImagePackageAdded BasicCommandLineTools ] {
     102    if $(TARGET_ARCH) != x86 {
     103        Echo "No optional package BasicCommandLineTools available for $(TARGET_ARCH)" ;
     104    } else {
     105        # sed
     106        InstallOptionalHaikuImagePackage sed-4.2.1-r1a1-x86-gcc2-2009-08-30
     107            : $(baseURL)/sed-4.2.1-r1a1-x86-gcc2-2009-08-30.zip
     108            :
     109            : true ;
     110    }
    108111}
    109112
    110113