[135921] trunk/dports/aqua/FFView/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed May 6 18:46:49 PDT 2015


Revision: 135921
          https://trac.macports.org/changeset/135921
Author:   ryandesign at macports.org
Date:     2015-05-06 18:46:49 -0700 (Wed, 06 May 2015)
Log Message:
-----------
FFView: fix build on Snow Leopard and later (#47651)

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

Modified: trunk/dports/aqua/FFView/Portfile
===================================================================
--- trunk/dports/aqua/FFView/Portfile	2015-05-07 00:57:35 UTC (rev 135920)
+++ trunk/dports/aqua/FFView/Portfile	2015-05-07 01:46:49 UTC (rev 135921)
@@ -8,6 +8,7 @@
 version         0.9.10 
 categories      aqua graphics
 maintainers     nomaintainer
+supported_archs i386 ppc
 
 description     fast OpenGL-powered picture viewer
 
@@ -39,12 +40,17 @@
 
 worksrcdir      ${name}
 
-xcode.target    ${name}
+patchfiles      patch-src-ui-FFMainController.m.diff
 
-pre-build {
-    foreach {framework} {FFArchive FFEXIF} {
-        system -W ${workpath}/${framework} \
-            "${build.cmd} -configuration ${xcode.configuration} ${xcode.build.settings}"
+xcode.build.settings SDKROOT_i386="${configure.sdkroot}"
+
+build {
+    set xcode_configuration_arg [xcode::get_configuration_arg ${xcode.configuration}]
+    set xcode_build_args [xcode::get_build_args]
+    foreach dir {FFArchive FFEXIF FFView} {
+        build.dir ${workpath}/${dir}
+        xcode::build_one_target "-target \"${dir}\" ${xcode_configuration_arg}" \
+            "${xcode_build_args} ${xcode.build.settings}"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150506/bc7f0aca/attachment.html>


More information about the macports-changes mailing list