[84172] trunk/base/src/port1.0/portdistfiles.tcl
jmr at macports.org
jmr at macports.org
Mon Sep 19 17:46:46 PDT 2011
Revision: 84172
http://trac.macports.org/changeset/84172
Author: jmr at macports.org
Date: 2011-09-19 17:46:44 -0700 (Mon, 19 Sep 2011)
Log Message:
-----------
show remote patchfiles in the distfiles target even when there are no master_sites
Modified Paths:
--------------
trunk/base/src/port1.0/portdistfiles.tcl
Modified: trunk/base/src/port1.0/portdistfiles.tcl
===================================================================
--- trunk/base/src/port1.0/portdistfiles.tcl 2011-09-20 00:27:22 UTC (rev 84171)
+++ trunk/base/src/port1.0/portdistfiles.tcl 2011-09-20 00:46:44 UTC (rev 84172)
@@ -53,10 +53,12 @@
}
proc portdistfiles::distfiles_main {args} {
- global UI_PREFIX master_sites checksums_array portdbpath dist_subdir all_dist_files
+ global UI_PREFIX master_sites patch_sites patchfiles checksums_array \
+ portdbpath dist_subdir all_dist_files
# give up on ports that do not provide URLs
- if {![info exists master_sites] || $master_sites == "{}"} {
+ if {(![info exists master_sites] || $master_sites == "{}")
+ && (![info exists patchfiles] || ![info exists patch_sites] || $patch_sites == "{}")} {
return 0
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110919/ccfc41d9/attachment.html>
More information about the macports-changes
mailing list