From 844cb7e71481544efe882c3ec9ac326320f4db30 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 8 Dec 2000 10:56:03 +0000 Subject: Fix build failures if the "ucd-snmp" package is installed and add a dependency on it so that SNMP support is always enabled. --- net/ethereal/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'net') 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} -- cgit v1.2.3