[102751] trunk/dports/graphics/tiv/Portfile

g5pw at macports.org g5pw at macports.org
Thu Feb 7 14:55:36 PST 2013


Revision: 102751
          https://trac.macports.org/changeset/102751
Author:   g5pw at macports.org
Date:     2013-02-07 14:55:36 -0800 (Thu, 07 Feb 2013)
Log Message:
-----------
graphics/tiv:
  pkgconfig is a build dependency
  remove unnecessary pre-build block
  add universal variant

Modified Paths:
--------------
    trunk/dports/graphics/tiv/Portfile

Modified: trunk/dports/graphics/tiv/Portfile
===================================================================
--- trunk/dports/graphics/tiv/Portfile	2013-02-07 22:48:20 UTC (rev 102750)
+++ trunk/dports/graphics/tiv/Portfile	2013-02-07 22:55:36 UTC (rev 102751)
@@ -15,8 +15,9 @@
 
 platforms           darwin
 
+depends_build       port:pkgconfig
+
 depends_lib         port:jpeg \
-                    port:pkgconfig \
                     port:gdk-pixbuf2 \
                     port:vala
 
@@ -25,11 +26,10 @@
 
 use_configure       no
 
-pre-build {
-    build.args      CC=${configure.cc} \
-                    CXX=${configure.cxx}
-}
+variant universal {}
 
+build.args      CC="${configure.cc} [get_canonical_archflags]"
+
 destroot {
     xinstall -m 775 ${worksrcpath}/tiv ${destroot}${prefix}/bin
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130207/d94699fe/attachment.html>


More information about the macports-changes mailing list