[35717] trunk/dports/aqua/osxvnc/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Apr 3 17:20:36 PDT 2008


Revision: 35717
          http://trac.macosforge.org/projects/macports/changeset/35717
Author:   ryandesign at macports.org
Date:     2008-04-03 17:20:34 -0700 (Thu, 03 Apr 2008)

Log Message:
-----------
osxvnc: build non-universal by default; closes #13804

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

Modified: trunk/dports/aqua/osxvnc/Portfile
===================================================================
--- trunk/dports/aqua/osxvnc/Portfile	2008-04-03 23:23:07 UTC (rev 35716)
+++ trunk/dports/aqua/osxvnc/Portfile	2008-04-04 00:20:34 UTC (rev 35717)
@@ -34,12 +34,15 @@
     }
 }
 
-default_variants +universal
 variant universal {}
-pre-fetch {
-    if {![variant_isset universal]} {
-        return -code error "${name} is only available in a universal version"
+if {! [variant_isset universal]} {
+    set arch ${os.arch}
+    if {! [string compare ${arch} powerpc]} {
+        set arch ppc
     }
+    
+    xcode.build.settings    ARCHS=${arch}
+    xcode.destroot.settings ARCHS=${arch}
 }
 
 livecheck.check         sourceforge

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080403/45af0978/attachment.html


More information about the macports-changes mailing list