Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

UniversalCurl: curl.diff

File curl.diff, 0.5 KB (added by pipping@…, 22 months ago)
  • net/curl/Portfile

     
    3939test.run        yes 
    4040test.target     test-full 
    4141 
     42# fix the output of 'curl-config --libs' for universal builds 
     43post-destroot { 
     44    if {[variant_isset universal]} { 
     45        reinplace "s|-arch i386 -arch ppc ||g" \ 
     46        ${destroot}${prefix}/bin/curl-config 
     47    } 
     48} 
     49 
    4250platform darwin 6 { 
    4351    depends_lib-append      lib:libdl:dlcompat 
    4452}