[91333] trunk/base/src/package1.0/portpkg.tcl

snc at macports.org snc at macports.org
Thu Mar 29 18:00:56 PDT 2012


Revision: 91333
          https://trac.macports.org/changeset/91333
Author:   snc at macports.org
Date:     2012-03-29 18:00:56 -0700 (Thu, 29 Mar 2012)
Log Message:
-----------
base: Leopard needed the -AppleLanguages workaround

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

Modified: trunk/base/src/package1.0/portpkg.tcl
===================================================================
--- trunk/base/src/package1.0/portpkg.tcl	2012-03-30 00:52:17 UTC (rev 91332)
+++ trunk/base/src/package1.0/portpkg.tcl	2012-03-30 01:00:56 UTC (rev 91333)
@@ -150,6 +150,9 @@
             set cmdline "PMResourceLocale=${language} $packagemaker --root ${destpath} --out ${pkgpath} ${pkgresources} --info $infofile --target $pkgtarget --domain system --id org.macports.$portname"
             if {${os.major} >= 10} {
                 append cmdline " --no-relocate"
+            } else {
+                # 10.5 Leopard does not use current language, manually specify
+                append cmdline " -AppleLanguages \"(${language})\""
             }
             ui_debug "Running command line: $cmdline"
             system $cmdline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120329/b53aac38/attachment.html>


More information about the macports-changes mailing list