Ticket #16366: netwox.diff

File netwox.diff, 912 bytes (added by blb@…, 16 years ago)

diff to Portfile

  • Portfile

    old new  
    3131worksrcdir      ${distname}-src/src
    3232
    3333pre-configure   {
    34                 cd ${worksrcpath}
    35                 reinplace "s|/usr/local|${prefix}|g" config.dat
    36                 reinplace "s|\\(NETWOXDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" config.dat
    37                 reinplace "s|\\(NETWOXDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" config.dat
    38                 reinplace "s|man|share/man|g" config.dat
    39                 reinplace "s|share/man1|man1|g" config.dat
     34                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config.dat
     35                reinplace "s|\\(NETWOXDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" ${worksrcpath}/config.dat
     36                reinplace "s|\\(NETWOXDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" ${worksrcpath}/config.dat
     37                reinplace "s|man|share/man|g" ${worksrcpath}/config.dat
     38                reinplace "s|share/man1|man1|g" ${worksrcpath}/config.dat
    4039}
    4140
    4241configure.pre_args      {}