Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2016 09:51:13 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424992 - head/net-mgmt/yaf
Message-ID:  <201610310951.u9V9pDqH020218@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Oct 31 09:51:13 2016
New Revision: 424992
URL: https://svnweb.freebsd.org/changeset/ports/424992

Log:
  Do not force dependency on libpcap from ports, libpcap from base is fine
  for all package users

Modified:
  head/net-mgmt/yaf/Makefile

Modified: head/net-mgmt/yaf/Makefile
==============================================================================
--- head/net-mgmt/yaf/Makefile	Mon Oct 31 09:30:38 2016	(r424991)
+++ head/net-mgmt/yaf/Makefile	Mon Oct 31 09:51:13 2016	(r424992)
@@ -3,7 +3,7 @@
 
 PORTNAME=	yaf
 PORTVERSION=	2.8.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://tools.netsa.cert.org/releases/
 
@@ -15,7 +15,6 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libfixbuf.so:net/libfixbuf \
 		libltdl.so:devel/libltdl \
-		libpcap.so.1:net/libpcap \
 		libpcre.so:devel/pcre
 
 GNU_CONFIGURE=	yes
@@ -71,6 +70,9 @@ P0FPRINT_LIB_DEPENDS=	libp0f.so:net/libp
 
 .if defined(WITH_DAG)
 CONFIGURE_ARGS+=	--with-dag=${LOCALBASE}
+LIB_DEPENDS+=	libpcap.so.1:net/libpcap
+.elif exists(${LOCALBASE}/lib/libpcap.so)
+LIB_DEPENDS+=	libpcap.so.1:net/libpcap
 .endif
 
 post-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610310951.u9V9pDqH020218>