summaryrefslogtreecommitdiff
path: root/net/ethereal
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-12-08 10:56:03 +0000
committertron <tron@pkgsrc.org>2000-12-08 10:56:03 +0000
commit844cb7e71481544efe882c3ec9ac326320f4db30 (patch)
treee9ad52b4b1d0e1765955a7a1cf0239bf02467b4e /net/ethereal
parent8184259f54c131a46e278a8cfa37aea7539538a1 (diff)
downloadpkgsrc-844cb7e71481544efe882c3ec9ac326320f4db30.tar.gz
Fix build failures if the "ucd-snmp" package is installed and add a
dependency on it so that SNMP support is always enabled.
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile
index 0b4785bc774..e0a6586cffd 100644
--- a/net/ethereal/Makefile
+++ b/net/ethereal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2000/11/27 20:16:56 mycroft Exp $
+# $NetBSD: Makefile,v 1.39 2000/12/08 10:56:03 tron Exp $
#
ETHEREAL_VERSION= 0.8.14
@@ -10,16 +10,21 @@ MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/ \
MAINTAINER= frueauf@netbsd.org
HOMEPAGE= http://www.ethereal.com/
-DEPENDS= gtk+-1.2.*:../../x11/gtk
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+DEPENDS+= ucd-snmp>=4.1.2:../../net/ucd-snmp
BUILD_DEPENDS+= ${PERL5}:../../lang/perl5-base
-USE_X11= yes
-USE_LIBTOOL= yes
+USE_X11= YES
+USE_SSL= YES
+USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= YES
EVAL_PREFIX+= GTKDIR=gtk+
-CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}"
+CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}" \
+ --with-ucdsnmp=${LOCALBASE}
+CONFIGURE_ENV+= LIBS="${LIBS}"
+LIBS+= -lcrypto
PLIST_SUBST+= ETHEREAL_VERSION=${ETHEREAL_VERSION}