most recent changes, diff for ethereal
Index: net/ethereal/Portfile
--- net/ethereal/Portfile (revision 34051)
+++ net/ethereal/Portfile (revision 34052)
@@ -54,7 +54,8 @@
configure.ldflags-append "-Wl,-search_paths_first"
pre-fetch {
- ui_msg "\nWireshark (net/wireshark) is the new version of ethereal, you probably want to move to that\n"
+ ui_msg "\nWireshark (net/wireshark) is the new version of ethereal, you probably want to move to that\n\nIf you must use ethereal, edit the Portfile and comment out the 'pre-fetch {}' lines\n"
+ return -code error "\n\n${name} is superseded by wireshark (net/wireshark), use that port instead\n"
}
platform darwin 6 {
@@ -88,7 +89,7 @@
configure.args-delete --disable-ipv6
}
-variant net-snmp {
+variant net_snmp {
configure.args-append --with-net-snmp=${prefix}/bin/net-snmp-config
configure.args-delete --with-net-snmp=no
depends_lib-append port:net-snmp