Revision
75488
Author
jmr@macports.org
Date
2011-01-26 08:35:47 -0800 (Wed, 26 Jan 2011)

Log Message

ettercap-ng: fix grep syntax in configure, update deps

Modified Paths

Diff

Modified: trunk/dports/net/ettercap-ng/Portfile (75487 => 75488)


--- trunk/dports/net/ettercap-ng/Portfile	2011-01-26 15:29:42 UTC (rev 75487)
+++ trunk/dports/net/ettercap-ng/Portfile	2011-01-26 16:35:47 UTC (rev 75488)
@@ -25,6 +25,7 @@
                  patch-src-interfaces-curses-widgets-wdg.h \
                  patch-src__protocols__ec_tcp.c
 
+depends_build    port:pkgconfig
 depends_lib      port:openssl \
                  port:libpcap \
                  port:libnet11 \
@@ -40,13 +41,13 @@
                  --infodir=\\\${prefix}/share/info
 
 variant gtk {
-    depends_lib-append    lib:libglib.2:glib2 \
-                          lib:libgtk.2:gtk2
+    depends_lib-append    port:gtk2
     configure.args-delete --disable-gtk
     configure.args-append --enable-gtk
 }
 
 variant plugins {
+    depends_lib-append  port:libtool
     configure.args-delete --disable-plugins
     configure.args-append --enable-plugins
 }

Modified: trunk/dports/net/ettercap-ng/files/patch-configure (75487 => 75488)


--- trunk/dports/net/ettercap-ng/files/patch-configure	2011-01-26 15:29:42 UTC (rev 75487)
+++ trunk/dports/net/ettercap-ng/files/patch-configure	2011-01-26 16:35:47 UTC (rev 75488)
@@ -18,3 +18,14 @@
          ac_ec_libnet=$withval
          echo "$as_me:$LINENO: result: $withval" >&5
  echo "${ECHO_T}$withval" >&6
+--- configure.orig	2011-01-27 03:25:41.000000000 +1100
++++ configure	2011-01-27 03:28:47.000000000 +1100
+@@ -8346,7 +8346,7 @@
+   exit 1
+ fi
+ gentoo_lt_version="1.5.18"
+-gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
++gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
+ if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
+   echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6