[57899] trunk/dports/aqua/fltk/Portfile

alakazam at macports.org alakazam at macports.org
Fri Sep 18 08:57:14 PDT 2009


Revision: 57899
          http://trac.macports.org/changeset/57899
Author:   alakazam at macports.org
Date:     2009-09-18 08:57:13 -0700 (Fri, 18 Sep 2009)
Log Message:
-----------
Also prevent FLTK from compiling 64 bit on PCs, see #21054.

Modified Paths:
--------------
    trunk/dports/aqua/fltk/Portfile

Modified: trunk/dports/aqua/fltk/Portfile
===================================================================
--- trunk/dports/aqua/fltk/Portfile	2009-09-18 15:57:03 UTC (rev 57898)
+++ trunk/dports/aqua/fltk/Portfile	2009-09-18 15:57:13 UTC (rev 57899)
@@ -48,10 +48,11 @@
 configure.args  --enable-threads \
                 --mandir=${prefix}/share/man
 
-platform darwin 10 {
-    configure.build_arch  i386
-    
-    configure.args-append --with-archflags="-arch i386"
+# Force 32-bit (#21054)
+if {${build_arch} == "x86_64"} {
+    configure.build_arch i386
+} elseif {${build_arch} == "ppc64"} {
+    configure.build_arch ppc
 }
 
 use_parallel_build  yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090918/3b2f9883/attachment.html>


More information about the macports-changes mailing list