Ticket #20215: fontconfig-muniversal-options.diff

File fontconfig-muniversal-options.diff, 1.0 KB (added by jmroot (Joshua Root), 15 years ago)
  • graphics/fontconfig/Portfile

     
    8686        ${prefix}/share/fonts
    8787}
    8888
    89 set merger_arch_flag  "no"
    90 if { ${os.arch}=="i386" } {
    91     if { ${os.major} >= 10 } {
    92         set merger_configure_args(ppc) --with-arch=ppc
    93         set merger_configure_env(ppc)  CC_FOR_BUILD=${configure.cc}
    94     }
    95     set merger_configure_args(ppc64)   --with-arch=ppc64
    96     set merger_configure_env(ppc64)    CC_FOR_BUILD=${configure.cc}
    97 } else {
    98     set merger_configure_args(i386)    --with-arch=i386
    99     set merger_configure_args(x86_64)  --with-arch=x86_64
    100     set merger_configure_env(i386)     CC_FOR_BUILD=${configure.cc}
    101     set merger_configure_env(x86_64)   CC_FOR_BUILD=${configure.cc}
     89foreach arch ${universal_archs} {
     90    set merger_configure_args($arch)    --with-arch=${arch}
     91    set merger_configure_env($arch)     CC_FOR_BUILD=${configure.cc}
    10292}
    10393
    10494livecheck.check         regex