Changeset 1242 in ProjectBuilder


Ignore:
Timestamp:
Mar 8, 2011, 11:41:01 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4260@jfallet1: bruno | 2011-03-08 23:32:48 +0100

  • Add support for patches and additional sources also for Solaris
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1234 r1242  
    13671367            pb_system("tar xfz $src","Extracting sources under $ENV{'PBBUILDDIR'}");
    13681368            pb_system("tar xfz $src2","Extracting pbconf under $ENV{'PBBUILDDIR'}");
     1369            # We need to handle potential patches to upstream sources
     1370            pb_extract_build_files($src2,"$pbpkg-$pbver/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbpatch/","$ENV{'PBBUILDDIR'}/SOURCES","patch");
     1371
     1372            # We need to handle potential additional sources to upstream sources
     1373            pb_extract_build_files($src2,"$pbpkg-$pbver/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbsrc/","$ENV{'PBBUILDDIR'}/SOURCES","src");
     1374
    13691375            chdir "$pbpkg-$pbver" || die "Unable to chdir to $pbpkg-$pbver";
    13701376            if (-f "pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbbuild") {
Note: See TracChangeset for help on using the changeset viewer.