aboutsummaryrefslogtreecommitdiff
path: root/net/wireshark
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2006-05-05 01:43:24 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2006-05-05 01:43:24 +0000
commit85ee28ec120e6f652779b2684277fb135172f6e0 (patch)
tree1bcfd4fd620557aff13c4e757dbd3c8f4b40055c /net/wireshark
parentb49cceb62c078be7b3bfdefd9ad04cfe460be689 (diff)
downloadports-85ee28ec120e6f652779b2684277fb135172f6e0.tar.gz
ports-85ee28ec120e6f652779b2684277fb135172f6e0.zip
Notes
Diffstat (limited to 'net/wireshark')
-rw-r--r--net/wireshark/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile
index 8b099c44a6ef..c2dfed03976a 100644
--- a/net/wireshark/Makefile
+++ b/net/wireshark/Makefile
@@ -23,8 +23,10 @@ USE_ICONV= yes
USE_GCC= 3.4+
USE_GNOME= gnometarget
WANT_GNOME= yes
+USE_OPENSSL= yes
CONFIGURE_ENV= MIBDIRS="/dev/null"
-CONFIGURE_ARGS+= --program-transform-name=""
+CONFIGURE_ARGS+= --program-transform-name="" \
+ --with-ssl=/usr
MAKE_ENV= MIBDIRS="/dev/null"
INSTALLS_SHLIB= yes
@@ -85,10 +87,6 @@ CONFIGURE_ARGS+= --enable-ipv6=no
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-capture_loop.h
.endif
-.if exists(/usr/include/openssl/crypto.h)
-CONFIGURE_ARGS+= --with-ssl=/usr
-.endif
-
# XXX - untested
.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
@@ -115,6 +113,11 @@ CONFIGURE_ARGS+= --with-adns=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-adns=no
.endif
+.if exists(${LOCALBASE}/lib/libgnutls.so) || defined(WITH_GNUTLS)
+LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+= --with-libgnutls-prefix=${LOCALBASE}
+.endif
+
MAN1+= dumpcap.1 tethereal.1
MAN4+= ethereal-filter.4