From nobody Tue Mar 22 17:19:40 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A33A41A40FC9; Tue, 22 Mar 2022 17:19:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNJBh5T22z3N0w; Tue, 22 Mar 2022 17:19:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647969580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i4r1WdDGBLNgDuJIC9Q+M15zHeVGNdTrz7IoqAMMVxI=; b=L6jHrRGCaTww+5MmkRRmD/D6/GuxapmAmADMLSKJ0TaCgct0Jj9QfZUlVuN693vUT0yRlI ksOdNQbsyjxyo9QMpVBXc75Hi+DRnEyFRMPza6eK5zRkySow04hzUDUOLUhqSn8f1S3qK5 kb4zzSNr0O1U92EuHD4Oxua+iZgB/WMTzj8DFuQX3Xi11LuLdA0mEdOMMlmWsGIwd/HMqG tX31C0QBKIubZksuG3DsymB09UBa2XYVufgC40UHWI71wNQkVnVF4ouHF6z58NUfaHYx6y 4Oz46KUHQUfieCZPasK9TTTWQa4AdrxAQRHHC4PduEgmF1o+erAq394btnLd2w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 88523138B3; Tue, 22 Mar 2022 17:19:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22MHJe4N065654; Tue, 22 Mar 2022 17:19:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22MHJeC1065653; Tue, 22 Mar 2022 17:19:40 GMT (envelope-from git) Date: Tue, 22 Mar 2022 17:19:40 GMT Message-Id: <202203221719.22MHJeC1065653@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 99f34a6ee645 - main - devel/libsigrokdecode: fix build with python3.9+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 99f34a6ee645c19a1a70c5828659feed2da725c8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647969580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i4r1WdDGBLNgDuJIC9Q+M15zHeVGNdTrz7IoqAMMVxI=; b=EIPTO6vK1AJmXbif0lklVXnQ+m/w07f/Of/+GIRyVj94xH1NAJCwSLyFRpSObva+N1FTen Z2uvjFMvsd8G6IziwUDL7zbO0DfVcE8xeuKqUllpuwluTqawBM+vRggcAGRDU/C8yTgPZZ kDDr0QYXnTW61b5cJOoyjjIuNRLzfMiJaW/MHGRgIdlN94pq56lgZDX9UDoiT2WRnb9ptP 6SYK1QlDEf+pwtiTgKikzO0LSx2/PiVbbj6vSRfN9FhA9Vopgcqrnpb9Fc8ud7F24iWzpG QIvOHVLuWZ+wnbZ+p10LyEwvutzoraJIBqO+qA4lDuUgvSuiUV6xFIfIz13Oyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647969580; a=rsa-sha256; cv=none; b=riWLbKWLzXFQfIjNn8+BrDxnhf3wrNuPLEBNim1wCFLgIweOo6+Saq+nYxy57/7StSl+S2 TALHg0IyALAcQpK9JKa2tgrVFfFCxj2WaROpdBGCRzBTvPio7VD3VNsWNiwR3fGxkXiNWR ed09pZvJfX3EpOwr1hmiSsyxnoEbz1I+seb+NBS2NS3MGm/rjVtUXhzNsUI+lFQ8JST1jK vp3ysP3FSX3nDEW1x85I7nBqKCVyGumcX/EA4bj0i5QKdVrjiqT7Cs8EYcn9QxQaNe1/15 7A775esW/VU/bKDjwgbdBlP1eFSM2PARVQSO7pKDLczA9MButVXLrTSorBn3pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=99f34a6ee645c19a1a70c5828659feed2da725c8 commit 99f34a6ee645c19a1a70c5828659feed2da725c8 Author: Dmitry Marakasov AuthorDate: 2022-03-22 13:58:16 +0000 Commit: Dmitry Marakasov 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