Modified: trunk/base/src/package1.0/portpkg.tcl (91429 => 91430)
--- trunk/base/src/package1.0/portpkg.tcl 2012-04-01 19:57:59 UTC (rev 91429)
+++ trunk/base/src/package1.0/portpkg.tcl 2012-04-01 20:15:08 UTC (rev 91430)
@@ -57,15 +57,10 @@
proc portpkg::pkg_start {args} {
global packagemaker_path portpkg::packagemaker \
- portpkg::language portpkg::pkgpath xcodeversion portpath porturl \
+ portpkg::language xcodeversion portpath porturl \
package.destpath package.resources package.scripts package.flat \
subport version description long_description homepage workpath os.major
- set pkgpath "${package.destpath}/${subport}-${version}.pkg"
- if {[file readable $pkgpath] && ([file mtime ${pkgpath}] >= [file mtime ${portpath}/Portfile])} {
- return 0
- }
-
if {![info exists packagemaker_path]} {
if {[vercmp $xcodeversion 4.3] >= 0} {
set packagemaker_path /Applications/PackageMaker.app
@@ -115,9 +110,9 @@
proc portpkg::package_pkg {portname portversion portrevision} {
global UI_PREFIX portdbpath destpath workpath prefix description \
package.flat portpath os.version os.major \
- package.resources package.scripts portpkg::packagemaker portpkg::language \
- portpkg::pkgpath
+ package.resources package.scripts portpkg::packagemaker portpkg::language
+ set pkgpath "${package.destpath}/${subport}-${version}.pkg"
if {[file readable $pkgpath] && ([file mtime ${pkgpath}] >= [file mtime ${portpath}/Portfile])} {
ui_msg "$UI_PREFIX [format [msgcat::mc "Package for %s-%s is up-to-date"] ${portname} ${portversion}]"
return 0