Changeset 2186 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Mar 3, 2017, 4:07:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r2182 r2186 1659 1659 } 1660 1660 1661 @buildfiles = pb_extract_build_files($src2,"$pbpkg-$pbver$pbextdir/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/","$ENV{'PBTMP'}"," spec");1661 @buildfiles = pb_extract_build_files($src2,"$pbpkg-$pbver$pbextdir/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/","$ENV{'PBTMP'}","build"); 1662 1662 pb_log(2,"buildfiles ".Dumper(\@buildfiles)."\n"); 1663 1663 foreach my $f (@buildfiles) { … … 1735 1735 symlink "$src","$ENV{'PBBUILDDIR'}/SOURCES/".basename($src) || die "Unable to symlink $src in $ENV{'PBBUILDDIR'}/SOURCES"; 1736 1736 # We need to first extract the spec file 1737 my @buildfile = pb_extract_build_files($src2,"$pbpkg-$pbver$pbextdir/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/","$ENV{'PBBUILDDIR'}/SPECS"," spec");1737 my @buildfile = pb_extract_build_files($src2,"$pbpkg-$pbver$pbextdir/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/","$ENV{'PBBUILDDIR'}/SPECS","build"); 1738 1738 1739 1739 # We need to handle potential patches to upstream sources … … 1875 1875 1876 1876 # We need to first extract the ebuild file 1877 @ebuildfile = pb_extract_build_files($src2,"$pbpkg-$pbver$pbextdir/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/","$tmpe"," ebuild");1877 @ebuildfile = pb_extract_build_files($src2,"$pbpkg-$pbver$pbextdir/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/","$tmpe","build"); 1878 1878 1879 1879 # Prepare the build env for gentoo … … 4694 4694 my $dir=shift; 4695 4695 my $ddir=shift; 4696 my $mandatory=shift || " spec";4696 my $mandatory=shift || "build"; 4697 4697 4698 4698 my $flag = "mayfail" if (($mandatory eq "patch") || ($mandatory eq "src"));
Note:
See TracChangeset
for help on using the changeset viewer.