Ticket #20927: hping2-Portfile.patch

File hping2-Portfile.patch, 629 bytes (added by macports@…, 15 years ago)

Move changes in Makefile to post-configure

  • /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/hping2/Portfile

    old new  
    1515patchfiles      patch-Makefile.in patch-libpcap_stuff.c patch-ars.c patch-sendip.c
    1616post-build {
    1717        system "cd ${worksrcpath} && make strip"
     18}
     19post-configure {
     20        system "cd ${worksrcpath}"
    1821        reinplace "s|INSTALL_PATH=|INSTALL_PATH=${destroot}${prefix}|g" Makefile
    1922        reinplace "s|INSTALL_MANPATH=|INSTALL_MANPATH=${destroot}${prefix}/share/man|g" Makefile
    2023}