[74029] trunk/dports/graphics/libemf/Portfile

jmr at macports.org jmr at macports.org
Thu Dec 2 14:26:29 PST 2010


Revision: 74029
          http://trac.macports.org/changeset/74029
Author:   jmr at macports.org
Date:     2010-12-02 14:26:24 -0800 (Thu, 02 Dec 2010)
Log Message:
-----------
libemf: apparently this does build on ppc with a slight nudge

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

Modified: trunk/dports/graphics/libemf/Portfile
===================================================================
--- trunk/dports/graphics/libemf/Portfile	2010-12-02 22:00:14 UTC (rev 74028)
+++ trunk/dports/graphics/libemf/Portfile	2010-12-02 22:26:24 UTC (rev 74029)
@@ -6,7 +6,7 @@
 name            libemf
 version         1.0.4
 platforms       darwin
-supported_archs i386
+supported_archs i386 ppc
 categories      graphics
 maintainers     nomaintainer
 description     Enhanced Metafile Library
@@ -25,13 +25,8 @@
 distname        libEMF-${version}
 
 use_autoreconf  yes
+configure.cppflags-append -Xarch_ppc -D__PPC__=1
 
-platform powerpc {
-        pre-fetch {
-                return -code error "${name} does not work on ppc"
-        }
-}
-
 livecheck.type  regex
 livecheck.url   http://sourceforge.net/projects/libemf/files/
 livecheck.regex {libEMF-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101202/516746f5/attachment.html>


More information about the macports-changes mailing list