Ticket #17833: libnet.diff

File libnet.diff, 648 bytes (added by blb@…, 16 years ago)

diff to libnet Portfile

  • Portfile

     
    3434platform darwin {
    3535        depends_lib-append port:libtool
    3636        pre-configure {
    37                 copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
     37                if {[file exists ${prefix}/share/libtool/config/config.guess]} {
     38                        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
     39                } else {
     40                        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
     41                }
    3842        }
    3943}
    4044