diff options
author | antoine <antoine@FreeBSD.org> | 2016-10-31 17:51:13 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2016-10-31 17:51:13 +0800 |
commit | 189966e1a9d60c95e7602802cf12c3cb300c26f1 (patch) | |
tree | 23d5c57634cf23b727038192058c83ff179ddf30 /net-mgmt | |
parent | ac2de703dd16d5fb5b148457e686968eb793e8da (diff) | |
download | freebsd-ports-gnome-189966e1a9d60c95e7602802cf12c3cb300c26f1.tar.gz freebsd-ports-gnome-189966e1a9d60c95e7602802cf12c3cb300c26f1.tar.zst freebsd-ports-gnome-189966e1a9d60c95e7602802cf12c3cb300c26f1.zip |
Do not force dependency on libpcap from ports, libpcap from base is fine
for all package users
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/yaf/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/yaf/Makefile b/net-mgmt/yaf/Makefile index 848f66f8ee26..85561d0e7e0c 100644 --- a/net-mgmt/yaf/Makefile +++ b/net-mgmt/yaf/Makefile @@ -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/libp0f .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: |