Ticket #32123: Portfile.diff
File Portfile.diff, 1.0 KB (added by ranauei@…, 13 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 name bwm-ng 5 5 version 0.6 6 revision 1 6 7 categories net 7 8 maintainers nomaintainer 8 9 description A small and simple bandwidth monitor … … 15 16 platforms darwin 16 17 17 18 master_sites ${homepage}/bwm-ng 18 checksums md5 d3a02484fb7946371bfb4e10927cebfb 19 checksums sha256 c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd \ 20 rmd160 d50ea7883a5aaf0fe8e670f1b7386ee9d9de5768 21 19 22 configure.args --with-ncurses=${prefix}/include 20 23 depends_lib port:ncurses 24 post-patch { 25 if {${configure.compiler} == "clang"} { 26 reinplace "s|inline||g" ${worksrcpath}/src/bwm-ng.c \ 27 ${worksrcpath}/src/help.c \ 28 ${worksrcpath}/src/options.c \ 29 ${worksrcpath}/src/output.c \ 30 ${worksrcpath}/src/process.c \ 31 ${worksrcpath}/src/input/retrieve.c \ 32 ${worksrcpath}/src/input/retrieve.h 33 } 34 }