Revision
89676
Author
ricci@macports.org
Date
2012-02-06 08:34:03 -0800 (Mon, 06 Feb 2012)

Log Message

wireshark:
  put (experimental) python files in the right place (resolves #31757 and part of 32168)
  don't build with lua support if lua is present and +lua is not provided (resolves part of 32168)

Modified Paths

Diff

Modified: trunk/dports/net/wireshark/Portfile (89675 => 89676)


--- trunk/dports/net/wireshark/Portfile	2012-02-06 15:17:35 UTC (rev 89675)
+++ trunk/dports/net/wireshark/Portfile	2012-02-06 16:34:03 UTC (rev 89676)
@@ -101,6 +101,7 @@
 }
 
 variant lua {
+	configure.args-delete	--without-lua
 	configure.args-append	--with-lua=${prefix}
 	depends_lib-append	port:lua
 }
@@ -130,7 +131,7 @@
 }
 
 variant python27 description {use python27 for the experimental python interface} conflicts python25 python26 {
-	configure.args-append	--with-python=${prefix}
+	configure.args-append	--with-python=${prefix}/lib/wireshark/python/${version}
 	configure.args-delete	--without-python
 	depends_lib-append	port:python27
 }