Ticket #15161: depends.diff
File depends.diff, 2.9 KB (added by jmroot (Joshua Root), 17 years ago) |
---|
-
src/port1.0/portutil.tcl
1187 1187 1188 1188 # Determine deptypes to look for based on target 1189 1189 switch $target { 1190 configure { set deptypes "depends_libdepends_build" }1190 patch { set deptypes "depends_build" } 1191 1191 1192 configure - 1192 1193 build { set deptypes "depends_lib depends_build" } 1193 1194 1194 1195 test - 1195 1196 destroot - 1196 1197 install - 1197 1198 archive - 1199 dmg - 1198 1200 pkg - 1199 1201 mpkg - 1200 1202 rpm - 1201 1203 srpm - 1202 1204 dpkg - 1205 mdmg - 1203 1206 activate - 1204 1207 "" { set deptypes "depends_lib depends_build depends_run" } 1205 1208 } -
src/macports1.0/macports.tcl
1216 1216 # Before we build the port, we must build its dependencies. 1217 1217 # XXX: need a more general way of comparing against targets 1218 1218 set dlist {} 1219 if {$target == "configure" || $target == "build" 1219 if {$target == "extract" || $target == "patch" 1220 || $target == "configure" || $target == "build" 1220 1221 || $target == "test" 1221 1222 || $target == "destroot" || $target == "install" 1222 1223 || $target == "archive" 1224 || $target == "dmg" || $target == "mdmg" 1223 1225 || $target == "pkg" || $target == "mpkg" 1224 || $target == "rpm" || $target == "dpkg" } { 1226 || $target == "rpm" || $target == "dpkg" 1227 || $target == "srpm" } { 1225 1228 1226 1229 if {[mportdepends $mport $target] != 0} { 1227 1230 return 1 … … 1660 1663 1661 1664 # Determine deptypes to look for based on target 1662 1665 switch $target { 1663 configure { set deptypes "depends_lib" } 1666 extract - 1667 patch { set deptypes "depends_build" } 1664 1668 1669 configure - 1665 1670 build { set deptypes "depends_lib depends_build" } 1666 1671 1667 1672 test - 1668 1673 destroot - 1669 1674 install - 1670 1675 archive - 1676 dmg - 1671 1677 pkg - 1678 mdmg - 1672 1679 mpkg - 1673 1680 rpm - 1681 srpm - 1674 1682 dpkg - 1675 1683 "" { set deptypes "depends_lib depends_build depends_run" } 1676 1684 }