[49117] trunk/dports/print/freetype/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Fri Apr 3 22:23:29 PDT 2009


Revision: 49117
          http://trac.macports.org/changeset/49117
Author:   mcalhoun at macports.org
Date:     2009-04-03 22:23:29 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
freetype: Use muniversal PortGroup for universal builds 
so that header file ftconfig.h has correct values.
Fixes #19101 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/print/freetype/Portfile

Modified: trunk/dports/print/freetype/Portfile
===================================================================
--- trunk/dports/print/freetype/Portfile	2009-04-04 05:16:00 UTC (rev 49116)
+++ trunk/dports/print/freetype/Portfile	2009-04-04 05:23:29 UTC (rev 49117)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               muniversal 1.0
 
 name                    freetype
 version                 2.3.9
@@ -115,5 +116,15 @@
     }
 }
 
+if { ${os.arch}=="i386" } {
+    if { ${os.major}>=10 } {
+        set merger_configure_env(ppc) CC_BUILD=${configure.cc}
+    }
+    set merger_configure_env(ppc64)   CC_BUILD=${configure.cc}
+} else {
+    set merger_configure_env(i386)    CC_BUILD=${configure.cc}
+    set merger_configure_env(x86_64)  CC_BUILD=${configure.cc}
+}
+
 livecheck.check         sourceforge
 livecheck.distname      ${name}[strsed ${version} {s/\..*//}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/f0de5e7a/attachment.html>


More information about the macports-changes mailing list