[26655] trunk/base/src/package1.0/portrpm.tcl

source_changes at macosforge.org source_changes at macosforge.org
Sun Jul 1 13:39:19 PDT 2007


Revision: 26655
          http://trac.macosforge.org/projects/macports/changeset/26655
Author:   afb at macports.org
Date:     2007-07-01 13:39:18 -0700 (Sun, 01 Jul 2007)

Log Message:
-----------
placeholder for noarch

Modified Paths:
--------------
    trunk/base/src/package1.0/portrpm.tcl

Modified: trunk/base/src/package1.0/portrpm.tcl
===================================================================
--- trunk/base/src/package1.0/portrpm.tcl	2007-07-01 19:40:37 UTC (rev 26654)
+++ trunk/base/src/package1.0/portrpm.tcl	2007-07-01 20:39:18 UTC (rev 26655)
@@ -69,9 +69,12 @@
     if {[variant_isset "universal"]} {
         set rpmbuildarch "--target fat"
     }
+    if {false} {
+        set rpmbuildarch "--target noarch"
+    }
     
     foreach dir [list "${prefix}/src/macports/RPMS" "${prefix}/src/apple/RPMS" "/usr/src/apple/RPMS" "/macports/rpms/RPMS"] {
-        foreach arch {"ppc" "i386" "fat"} {
+        foreach arch {"ppc" "i386" "fat" "noarch"} {
             set rpmpath "$dir/${arch}/${portname}-${portversion}-${portrevision}.${arch}.rpm"
 	    if {[file readable $rpmpath] && ([file mtime ${rpmpath}] >= [file mtime ${portpath}/Portfile])} {
                 ui_debug "$rpmpath"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070701/f5b4b879/attachment.html


More information about the macports-changes mailing list