[50606] trunk/dports/x11/pango/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Mon May 4 16:51:31 PDT 2009
Revision: 50606
http://trac.macports.org/changeset/50606
Author: mcalhoun at macports.org
Date: 2009-05-04 16:51:30 -0700 (Mon, 04 May 2009)
Log Message:
-----------
pango: Use the muniversal PortGroup to build universal binaries.
This allows finer control over how the 64-bit libraries are built (see #17049).
Fixes #19392 (maintainer timeout).
Modified Paths:
--------------
trunk/dports/x11/pango/Portfile
Modified: trunk/dports/x11/pango/Portfile
===================================================================
--- trunk/dports/x11/pango/Portfile 2009-05-04 23:50:02 UTC (rev 50605)
+++ trunk/dports/x11/pango/Portfile 2009-05-04 23:51:30 UTC (rev 50606)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name pango
version 1.24.1
@@ -41,6 +42,11 @@
configure.ccache no
+# Do not call gzip on man files as it interferes with the universal merger process.
+post-patch {
+ reinplace "s|\$(MAKE) \$(AM_MAKEFLAGS) install-data-hook||" ${worksrcpath}/pango-view/Makefile.in
+}
+
platform macosx {}
variant quartz requires macosx description {Add Quartz graphics interface} {
# Although this variant does nothing, pango will automatically build
@@ -91,6 +97,16 @@
}
}
+if { ${os.arch}=="i386" } {
+ set merger_configure_env(ppc) "NM='/usr/bin/nm -p'"
+ set merger_configure_env(ppc64) "NM='/usr/bin/nm -p'"
+} else {
+ set merger_configure_env(i386) "NM='/usr/bin/nm -p'"
+ set merger_configure_env(x86_64) "NM='/usr/bin/nm -p'"
+}
+lappend merger_configure_env(ppc64) ac_cv_header_Carbon_Carbon_h=no
+lappend merger_configure_env(x86_64) ac_cv_header_Carbon_Carbon_h=no
+
configure.cppflags-append \
-no-cpp-precomp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090504/69f58198/attachment-0001.html>
More information about the macports-changes
mailing list