[71595] trunk/dports/aqua/SSHKeychain/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 17 09:39:30 PDT 2010


Revision: 71595
          http://trac.macports.org/changeset/71595
Author:   ryandesign at macports.org
Date:     2010-09-17 09:39:28 -0700 (Fri, 17 Sep 2010)
Log Message:
-----------
SSHKeychain: override xcodeproj's arch, SDK and deployment target settings, fixing build on Snow Leopard; see #23149

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

Modified: trunk/dports/aqua/SSHKeychain/Portfile
===================================================================
--- trunk/dports/aqua/SSHKeychain/Portfile	2010-09-17 16:15:59 UTC (rev 71594)
+++ trunk/dports/aqua/SSHKeychain/Portfile	2010-09-17 16:39:28 UTC (rev 71595)
@@ -8,6 +8,7 @@
 
 name          SSHKeychain
 version       0.8.2
+revision      1
 categories    aqua sysutils
 maintainers   nomaintainer
 description   SSHKeychain is a graphical front-end to ssh-add
@@ -33,22 +34,11 @@
 worksrcdir    ${version}
 xcode.target  ${name}
 
-# Dummy configure to enable +universal.
-use_configure yes
-configure     {}
+# The Deployment configuration sets archs, SDKs and deployment targets,
+# none of which we want, so use the Default configuration which doesn't
+# do any of that and let xcode portgroup variables take effect.
+xcode.configuration Default
 
-# Determine for what architecture to build
-# (if +universal, the project already does the right thing...)
-if {! [variant_isset universal]} {
-    set arch ${os.arch}
-    if {! [string compare ${os.arch} powerpc]} {
-        set arch ppc
-    }
-
-    xcode.build.settings-append     ARCHS=${arch}
-    xcode.destroot.settings-append  ARCHS=${arch}
-}
-
 post-destroot {
     fs-traverse dir ${destroot} {
         if {[file isdirectory ${dir}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100917/0bb9155e/attachment.html>


More information about the macports-changes mailing list