Ticket #19392: Portfile.diff

File Portfile.diff, 1.4 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 15 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 50159 2009-04-27 00:30:10Z ryandesign@macports.org $
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45
    56name                    pango
    67version                 1.24.1
     
    4142
    4243configure.ccache        no
    4344
     45# Do not call gzip on man files as it interferes with the universal merger process.
     46post-patch {
     47    reinplace "s|\$(MAKE) \$(AM_MAKEFLAGS) install-data-hook||" ${worksrcpath}/pango-view/Makefile.in
     48}
     49
    4450platform macosx {}
    4551variant quartz requires macosx description {Add Quartz graphics interface} {
    4652    # Although this variant does nothing, pango will automatically build
     
    9197    }
    9298}
    9399
     100if { ${os.arch}=="i386" } {
     101    set merger_configure_env(ppc)     "NM='/usr/bin/nm -p'"
     102    set merger_configure_env(ppc64)   "NM='/usr/bin/nm -p'"
     103} else {
     104    set merger_configure_env(i386)    "NM='/usr/bin/nm -p'"
     105    set merger_configure_env(x86_64)  "NM='/usr/bin/nm -p'"
     106}
     107lappend merger_configure_env(ppc64)   ac_cv_header_Carbon_Carbon_h=no
     108lappend merger_configure_env(x86_64)  ac_cv_header_Carbon_Carbon_h=no
     109
    94110configure.cppflags-append \
    95111    -no-cpp-precomp
    96112
     
    99115    -bind_at_load
    100116
    101117configure.args \
    102     --enable-gtk-doc \
    103118    --enable-static
    104119
    105120# AC_X_PATH blindly asks xmkmf where X11 is, and it always uses /usr/X11R6.