Ignore:
Timestamp:
Nov 29, 2009, 3:12:56 AM (10 years ago)
Author:
bruno
Message:
  • Improves Debian support by a/ allowing PBDESC to be used in control file with space prepended. b/ prepend 0 to non digit versions such as devel. c/ creating debian pbfilter files for PBDEBSTD and PBDEBCOMP macros used in control.
  • Uses pbtag for ebuild and pkg packages
  • Improves pb Solaris pkgs
  • Improves pb Debian pkgs (only some warnings remaining for lintian)
  • Adds a PBSUMMARY macro and use it. Now also generated for newproj.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r585 r916  
    156156            eval { $tmp =~ s/(\$\w+-\>\{\'\w+\'\})/$1/eeg };
    157157            eval { $tmp =~ s/(\$\w+)/$1/eeg };
     158            if (($s =~ /^PBDESC$/) && ($line =~ /^ PBDESC/)) {
     159                # if on debian, we need to preserve the space before each desc line
     160                pb_log(3,"*** DEBIAN CASE ADDING SPACE ***\n");
     161                $tmp =~ s/\$\//\$\/ /g;
     162                pb_log(3,"*** tmp:$tmp ***\n");
     163            }
    158164            eval { $tmp =~ s/(\$\/)/$1/eeg };
    159         # special case for ChangeLog only for pb
    160165        } elsif (($s =~ /^PBLOG$/) && ($line =~ /^PBLOG$/)) {
     166            # special case for ChangeLog only for pb
    161167            pb_log(3,"DEBUG filtering PBLOG\n");
    162168            pb_changelog($pb, \*DEST, $tmp);
Note: See TracChangeset for help on using the changeset viewer.