svn commit: r424992 - head/net-mgmt/yaf

Antoine Brodin antoine at FreeBSD.org
Mon Oct 31 09:51:14 UTC 2016


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:


More information about the svn-ports-all mailing list