: e4fc790207da - main - devel/libserialport: ensure we link with libusb List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e4fc790207da8e90cc3e4135d9fc3fe8f9b406ac Auto-Submitted: auto-generated Date: Mon, 27 Apr 2026 00:03:35 +0000 Message-Id: <69eea7d7.1e17c.1d34b575@gitrepo.freebsd.org> The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4fc790207da8e90cc3e4135d9fc3fe8f9b406ac commit e4fc790207da8e90cc3e4135d9fc3fe8f9b406ac Author: Muhammad Moinur Rahman AuthorDate: 2026-04-24 18:24:07 +0000 Commit: Robert Clausecker CommitDate: 2026-04-27 00:01:10 +0000 devel/libserialport: ensure we link with libusb Event: Wiesbaden Hackathon 202604 MFH: 2026Q2 PR: 294710 Reported by: fuz --- devel/libserialport/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devel/libserialport/Makefile b/devel/libserialport/Makefile index 20e75a9931a8..3dec5ddd97d7 100644 --- a/devel/libserialport/Makefile +++ b/devel/libserialport/Makefile @@ -1,5 +1,6 @@ PORTNAME= libserialport DISTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://sigrok.org/download/source/libserialport/ @@ -13,8 +14,15 @@ USES= libtool pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes +CONFIGURE_ENV+= LIBS="-lusb" MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip +post-install: + ${REINPLACE_CMD} \ + -e 's|Requires.private: libusb-2.0|Requires.private:|' \ + -e 's|Libs.private: $$|Libs.private: -lusb|' \ + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libserialport.pc + .include