Date: Tue, 22 Mar 2022 17:19:40 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 99f34a6ee645 - main - devel/libsigrokdecode: fix build with python3.9+ Message-ID: <202203221719.22MHJeC1065653@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=99f34a6ee645c19a1a70c5828659feed2da725c8 commit 99f34a6ee645c19a1a70c5828659feed2da725c8 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-03-22 13:58:16 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-03-22 17:18:29 +0000 devel/libsigrokdecode: fix build with python3.9+ - Fix python detection and allow build with python3.9+ - Fix license, add LICENSE_FILE Approved by: portmgr blanket --- devel/libsigrokdecode/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/devel/libsigrokdecode/Makefile b/devel/libsigrokdecode/Makefile index d101b77979cb..dc1b8159163e 100644 --- a/devel/libsigrokdecode/Makefile +++ b/devel/libsigrokdecode/Makefile @@ -8,7 +8,8 @@ MASTER_SITES= http://sigrok.org/download/source/libsigrokdecode/ MAINTAINER= bsam@FreeBSD.org COMMENT= Framework for hardware logic analyzers, protocol decoders library -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gnome libtool pathfix pkgconfig python:3.4+ @@ -16,5 +17,10 @@ USE_GNOME= glib20 MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip +CONFIGURE_ENV= PYTHON3="${PYTHON_CMD}" + +post-patch: + @${REINPLACE_CMD} -Ee '/python-/ s|3\.[0-9]+|${PYTHON_VER}|g' \ + ${WRKSRC}/configure .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203221719.22MHJeC1065653>