Ticket #21035: cdrdao.diff

File cdrdao.diff, 680 bytes (added by meissnem@…, 15 years ago)
  • Portfile

     
    2526
    2627        reinplace "s|-L\$\(top_builddir\)/paranoia -lcdda_paranoia|\$\(top_builddir\)/paranoia/libcdda_paranoia.a|" ${worksrcpath}/dao/Makefile.in
    2728
     29        if {[variant_isset universal]} {
     30                reinplace "s|COPTS=|COPTS=    ${configure.universal_cflags}|g" ${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul
     31        } else {
     32                reinplace "s|COPTS=|COPTS=    -arch ${build_arch}|g" ${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul
     33        }
    2834        file copy "${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul" "${worksrcpath}/scsilib/RULES/i386-darwin-cc.rul"
    2935}
    3036