Date: Mon, 27 Apr 2026 00:03:35 +0000 From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Muhammad Moinur Rahman <bofh@FreeBSD.org> Subject: git: e4fc790207da - main - devel/libserialport: ensure we link with libusb Message-ID: <69eea7d7.1e17c.1d34b575@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4fc790207da8e90cc3e4135d9fc3fe8f9b406ac commit e4fc790207da8e90cc3e4135d9fc3fe8f9b406ac Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2026-04-24 18:24:07 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> 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 <bsd.port.mk>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eea7d7.1e17c.1d34b575>
