Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / macports

My macports patch

Clone this repository (size: 3.4 KB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/macports
hg clone ssh://hg@bitbucket.org/nolith/macports

macports / pango_1.26.2

Branch
default
Portfile for pango 1.26.2

diff --git a/x11/pango/Portfile b/x11/pango/Portfile
--- a/x11/pango/Portfile
+++ b/x11/pango/Portfile
@@ -1,13 +1,11 @@
-# $Id: Portfile 61898 2009-12-23 10:45:31Z ryandesign@macports.org $
+# $Id: Portfile 58104 2009-09-22 06:58:34Z ryandesign@macports.org $
 
 PortSystem              1.0
 PortGroup               muniversal 1.0
-PortGroup               archcheck 1.0
 
 name                    pango
 conflicts               pango-devel
-epoch                   1
-version                 1.24.5
+version                 1.26.2
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              x11
 maintainers             ryandesign
@@ -26,10 +24,9 @@
     open-source framework for the layout and rendering \
     of internationalized text.
 
-checksums \
-    md5     815416a452e9cccc172fed9862401f37 \
-    sha1    a5aa40b78546a7ee59f21804b172e5d47ef776ad \
-    rmd160  7e436752734c55950ad5feced7c7d5c3f040a1b4
+checksums           md5     f30212b8833af3ce5c82121dc309e3d0 \
+                    sha1    051b6f7b5f98a4c8083ef6a5178cb5255a992b98 \
+                    rmd160  6613bddf643d5c912e6656d84c6671aa6ce88a9d
 
 depends_extract \
     port:pkgconfig
@@ -39,19 +36,15 @@
     port:Xft2 \
     path:lib/pkgconfig/cairo.pc:cairo
 
-archcheck.files         lib/libglib-2.0.dylib \
-                        lib/libXft.dylib \
-                        lib/libcairo.dylib
-
-patchfiles \
-    patch-which.diff \
-    patch-ltmain.sh.diff \
-    patch-configure.diff
-
 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 {
+variant quartz requires macosx description {Add Quartz graphics interface} {
     # Although this variant does nothing, pango will automatically build
     # itself differently depending on whether or not cairo is installed with
     # the quartz variant. Therefore this variant is necessary to be able to
@@ -107,8 +100,8 @@
     set merger_configure_env(i386)    "NM='/usr/bin/nm -p'"
     set merger_configure_env(x86_64)  "NM='/usr/bin/nm -p'"
 }
-lappend merger_configure_args(ppc64)   have_atsui=false
-lappend merger_configure_args(x86_64)  have_atsui=false
+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
@@ -121,14 +114,9 @@
     --enable-static \
     --x-include=${prefix}/include --x-lib=${prefix}/lib
 
-if {![variant_isset universal] && $build_arch == "x86_64" || $build_arch == "ppc64"} {
-    configure.args-append have_atsui=false
-}
-
 variant no_x11 {
     depends_lib-delete \
         port:Xft2
-    archcheck.files-delete  lib/libXft.dylib
     configure.args-append \
         --without-x
 }