Changeset 1509 in ProjectBuilder for devel/pb-modules/Makefile.PL


Ignore:
Timestamp:
May 9, 2012, 4:10:30 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix a build bug with the new prefix variable in pb-module. Only use if it exists !
  • pb_conf_init is called at low level on the default project to avoid PBPROJ to be undefined and creatin lots of error msgs. pbdistrocheck works again with it
  • Fix sbx2setupvm in order to call pb_conf_init correctly at start of the pbinit script.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/Makefile.PL

    r1503 r1509  
    5050    }
    5151
    52     $etcdir ||= "$prefix/etc/pb";
    53     $mandir ||= "$prefix/share/man";
     52    $etcdir ||= "$prefix/etc/pb" if (defined $prefix);
     53    $mandir ||= "$prefix/share/man" if (defined $prefix);
    5454    $etcdir ||= "/usr/local/etc/pb";
    5555    $mandir ||= "/usr/local/share/man";
Note: See TracChangeset for help on using the changeset viewer.