Revision
89539
Author
jeremyhu@macports.org
Date
2012-02-01 12:48:41 -0800 (Wed, 01 Feb 2012)

Log Message

Actually IMAKECPP for use_xmkmf (previous was an incomplete commit)

Modified Paths

Diff

Modified: trunk/base/src/port1.0/portconfigure.tcl (89538 => 89539)


--- trunk/base/src/port1.0/portconfigure.tcl	2012-02-01 20:44:03 UTC (rev 89538)
+++ trunk/base/src/port1.0/portconfigure.tcl	2012-02-01 20:48:41 UTC (rev 89539)
@@ -697,10 +697,14 @@
     }
 
     if {[tbool use_xmkmf]} {
+        parse_environment xmkmf
         append_list_to_environment_value xmkmf "IMAKECPP" ${configure.cpp}
         if {[catch {command_exec xmkmf} result]} {
             return -code error "[format [msgcat::mc "%s failure: %s"] xmkmf $result]"
         }
+
+        parse_environment xmkmf
+        append_list_to_environment_value xmkmf "IMAKECPP" ${configure.cpp}
         if {[catch {command_exec "cd ${worksrcpath} && make Makefiles" -varprefix xmkmf} result]} {
             return -code error "[format [msgcat::mc "%s failure: %s"] "make Makefiles" $result]"
         }