Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 4d6c2c7

Browse files
committed
Use global depends_on_package_base_url tag when it's set
1 parent d603da8 commit 4d6c2c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xmlrpc.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ function get_pkgs($raw_params) {
155155
$pkg['depends_on_package_pbi'] = preg_replace('/##ARCH##/',
156156
$freebsd_machine, $pkg['depends_on_package_pbi']);
157157

158+
// On pkg_config.10.xml and later, depends_on_package_base_url is global
159+
if (!empty($pkg_config['depends_on_package_base_url']))
160+
$pkg['depends_on_package_base_url'] = $pkg_config['depends_on_package_base_url'];
161+
158162
if($params['info'] == 'all') {
159163
$apkgs[$pkg['name']] = $pkg;
160164
} else {

0 commit comments

Comments
 (0)