mirror of https://github.com/hak5/openwrt.git
add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)
SVN-Revision: 6060lede-17.01
parent
0362ccb83b
commit
bf3654cc10
|
@ -28,6 +28,8 @@ while ($line = <>) {
|
|||
$line =~ /^Source-Makefile: \s*(.+\/([^\/]+)\/Makefile)\s*$/ and do {
|
||||
$makefile = $1;
|
||||
$src = $2;
|
||||
defined $pkg{$src} or $pkg{$src} = {};
|
||||
$pkg{$src}->{src} = $src;
|
||||
};
|
||||
$line =~ /^Package: \s*(.+)\s*$/ and do {
|
||||
$name = $1;
|
||||
|
|
Loading…
Reference in New Issue