Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2021 07:13:57 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 577dfd24e85b - 2021Q3 - sysutils/usbtop: reduce dependencies
Message-ID:  <202108090713.1797Dvok054995@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=577dfd24e85b94e3cd85d0d810212f66556dc00b

commit 577dfd24e85b94e3cd85d0d810212f66556dc00b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-09 06:00:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-09 07:10:49 +0000

    sysutils/usbtop: reduce dependencies
    
    - Drop net/libpcap in favor of /usr/lib/libpcap.so from base
    - Drop 166 MiB large boost-libs from RUN_DEPENDS
    
    PR:             257698
    Approved by:    yuri (maintainer)
    
    (cherry picked from commit ec7d5f1eb92d9a150b838ba431389cc2af1d3718)
---
 sysutils/usbtop/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysutils/usbtop/Makefile b/sysutils/usbtop/Makefile
index 596ef3a76080..0ea3ac06ff21 100644
--- a/sysutils/usbtop/Makefile
+++ b/sysutils/usbtop/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	usbtop
 DISTVERSIONPREFIX=	release-
 DISTVERSION=	1.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	sysutils
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,12 +12,12 @@ COMMENT=	Utility that shows an estimated instantaneous USB bandwidth
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
-		libpcap.so:net/libpcap
+BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
 
 USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	aguinet
+CMAKE_ON=	Boost_USE_STATIC_LIBS
 
 PLIST_FILES=	sbin/usbtop
 



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