[55941] trunk/dports/gnome/dia/Portfile

devans at macports.org devans at macports.org
Fri Aug 21 09:58:07 PDT 2009


Revision: 55941
          http://trac.macports.org/changeset/55941
Author:   devans at macports.org
Date:     2009-08-21 09:58:07 -0700 (Fri, 21 Aug 2009)
Log Message:
-----------
dia:

  * don't depend on libemf on powerpc platforms since it only builds on intel
  * allows dia to build on powerpc but without the WMF plugin
  * no need to increment revision since it didn't build on effected platforms

Modified Paths:
--------------
    trunk/dports/gnome/dia/Portfile

Modified: trunk/dports/gnome/dia/Portfile
===================================================================
--- trunk/dports/gnome/dia/Portfile	2009-08-21 16:57:59 UTC (rev 55940)
+++ trunk/dports/gnome/dia/Portfile	2009-08-21 16:58:07 UTC (rev 55941)
@@ -56,6 +56,16 @@
 
 configure.cppflags-append   -I${prefix}/include/libEMF
 
+#
+# don't depend on libemf on powerpc platforms
+# since it will only build on intel
+#
+
+platform powerpc {
+    depends_lib-delete port:libemf
+    configure.cppflags-delete -I${prefix}/include/libEMF
+}
+
 livecheck.check regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/[lindex [split ${version} -] 0]/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*(?:-pre\d)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090821/08e79924/attachment.html>


More information about the macports-changes mailing list