UniversalCurl: curl.diff

File curl.diff, 536 bytes (added by pipping@…, 17 years 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}