Revision
103445
Author
ryandesign@macports.org
Date
2013-02-25 20:29:45 -0800 (Mon, 25 Feb 2013)

Log Message

muniversal-1.0.tcl: don't add --host argument when configuring with cmake since it doesn't support or need that

Modified Paths

Diff

Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl (103444 => 103445)


--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-02-26 02:10:09 UTC (rev 103444)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-02-26 04:29:45 UTC (rev 103445)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 #
-# Copyright (c) 2009-2012 The MacPorts Project,
+# Copyright (c) 2009-2013 The MacPorts Project,
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -219,7 +219,7 @@
                 if { $merger_host($arch) != "" } {
                     set host  --host=$merger_host($arch)
                 }
-            } else {
+            } elseif {[file tail ${configure.cmd}] != "cmake"} {
                 # check if building for a word length we can't run
                 set bits_differ 0
                 if {(${arch}=="x86_64" || ${arch}=="ppc64") &&