Revision
140805
Author
mcalhoun@macports.org
Date
2015-10-03 09:05:46 -0700 (Sat, 03 Oct 2015)

Log Message

mono: allow 32-bit build

Modified Paths

Diff

Modified: trunk/dports/devel/mono/Portfile (140804 => 140805)


--- trunk/dports/devel/mono/Portfile	2015-10-03 15:22:54 UTC (rev 140804)
+++ trunk/dports/devel/mono/Portfile	2015-10-03 16:05:46 UTC (rev 140805)
@@ -52,6 +52,10 @@
 
 patchfiles          snowleopard-mutex.patch
 
+if { ${build_arch} == "i386" } {
+    configure.args-append "--host=i686-apple-${os.platform}${os.version}"
+}
+
 post-patch {
     if {${os.major} < 9} {
         reinplace "s:MAC_OS_X_VERSION_10_5:1050:g" \