Ticket #29207: sane-backends_1.0.22_1.patch

File sane-backends_1.0.22_1.patch, 776 bytes (added by aguynamedryan+macports@…, 14 years ago)

Strip arch from sane-config and sane-backends.pc files

  • Portfile

    old new  
    44
    55name                        sane-backends
    66version                     1.0.22
     7revision                    1
    78set download_id             3503
    89categories                  graphics
    910platforms                   darwin
     
    4748    xinstall -d -o root -g admin -m 775 ${destroot}${prefix}/var/lock
    4849}
    4950
     51post-configure {
     52    reinplace -E {s|-arch [a-z0-9_]+||g} \
     53        ${worksrcpath}/tools/sane-config \
     54        ${worksrcpath}/tools/sane-backends.pc
     55}
     56
    5057destroot.keepdirs ${destroot}${prefix}/var/lock
    5158
    5259variant disable_localbackends conflicts enable_pnmbackend with_gphoto2 description "turn off compilation of all backends but net" {