[56602] trunk/dports/sysutils/synergy/Portfile

jmr at macports.org jmr at macports.org
Sun Aug 30 11:41:34 PDT 2009


Revision: 56602
          http://trac.macports.org/changeset/56602
Author:   jmr at macports.org
Date:     2009-08-30 11:41:30 -0700 (Sun, 30 Aug 2009)
Log Message:
-----------
update code to force 32-bit build_arch (see #20908)

Modified Paths:
--------------
    trunk/dports/sysutils/synergy/Portfile

Modified: trunk/dports/sysutils/synergy/Portfile
===================================================================
--- trunk/dports/sysutils/synergy/Portfile	2009-08-30 18:07:05 UTC (rev 56601)
+++ trunk/dports/sysutils/synergy/Portfile	2009-08-30 18:41:30 UTC (rev 56602)
@@ -42,8 +42,9 @@
 livecheck.name	${sf_proj}
 livecheck.regex	<title>Sources (.*) released.*</title>
 
-# Force 32-bit, all kinds of Carbon cruft in here. :(
-platform darwin 10 {
-	configure.cppflags-append -arch i386
-	configure.ldflags-append -arch i386
+# Force 32-bit, all kinds of Carbon cruft in here. (#20908)
+if {$build_arch == "x86_64"} {
+    configure.build_arch i386
+} elseif {$build_arch == "ppc64"} {
+    configure.build_arch ppc
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090830/a4d24bd9/attachment.html>


More information about the macports-changes mailing list