Ticket #16358: netwib.diff

File netwib.diff, 1.0 KB (added by blb@…, 16 years ago)

diff to Portfile

  • Portfile

    old new  
    3232worksrcdir      ${distname}-src/src
    3333
    3434pre-configure   {
    35                 cd ${worksrcpath}
    36                 reinplace "s|/usr/local|${prefix}|g" config.dat
    37                 reinplace "s|\\(NETWIBDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" config.dat
    38                 reinplace "s|\\(NETWIBDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" config.dat
    39                 reinplace "s|/man|/share/man|g" config.dat
    40                 reinplace "s|/share/man3|/man3|g" config.dat
    41                 reinplace "s|/usr/include/pcap/|${prefix}/include/pcap|g" genemake
     35                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config.dat
     36                reinplace "s|\\(NETWIBDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" ${worksrcpath}/config.dat
     37                reinplace "s|\\(NETWIBDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" ${worksrcpath}/config.dat
     38                reinplace "s|/man|/share/man|g" ${worksrcpath}/config.dat
     39                reinplace "s|/share/man3|/man3|g" ${worksrcpath}/config.dat
     40                reinplace "s|/usr/include/pcap/|${prefix}/include/pcap|g" ${worksrcpath}/genemake
    4241}
    4342
    4443configure.pre_args      {}