[34052] trunk/dports/net/ethereal/Portfile

ricci at macports.org ricci at macports.org
Sun Feb 10 20:43:29 PST 2008


Revision: 34052
          http://trac.macosforge.org/projects/macports/changeset/34052
Author:   ricci at macports.org
Date:     2008-02-10 20:43:28 -0800 (Sun, 10 Feb 2008)

Log Message:
-----------
make ethereal not build by default, as net/wireshark is the (now fairly better) replacement,
  provide instructions on what to do if someone needs to use the port
change variant "net-snmp" to "net_snmp" per ticket #14155

Modified Paths:
--------------
    trunk/dports/net/ethereal/Portfile

Modified: trunk/dports/net/ethereal/Portfile
===================================================================
--- trunk/dports/net/ethereal/Portfile	2008-02-11 04:36:39 UTC (rev 34051)
+++ trunk/dports/net/ethereal/Portfile	2008-02-11 04:43:28 UTC (rev 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080210/dd0e58d2/attachment.html


More information about the macports-changes mailing list