From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3B0513835A for ; Wed, 23 Jun 2021 11:04:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7391E088A; Wed, 23 Jun 2021 11:03:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 973F2E088A for ; Wed, 23 Jun 2021 11:03:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18923335D07 for ; Wed, 23 Jun 2021 11:03:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 683B37B2 for ; Wed, 23 Jun 2021 11:03:56 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1624446223.ed52fe19968d1a1412da63b9a583a92cd91825a7.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/tlf/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/tlf/tlf-1.4.1-r1.ebuild X-VCS-Directories: media-radio/tlf/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: ed52fe19968d1a1412da63b9a583a92cd91825a7 X-VCS-Branch: master Date: Wed, 23 Jun 2021 11:03:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 815de536-8075-42c6-a482-8ecf0c2b1973 X-Archives-Hash: d76ccea0755e7bfd2523722da77ba910 commit: ed52fe19968d1a1412da63b9a583a92cd91825a7 Author: Thomas Beierlein gentoo org> AuthorDate: Wed Jun 23 11:03:43 2021 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Wed Jun 23 11:03:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed52fe19 media-radio/tlf: Prepare for coming media-libs/hamlib-4.2 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Beierlein gentoo.org> media-radio/tlf/tlf-1.4.1-r1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/media-radio/tlf/tlf-1.4.1-r1.ebuild b/media-radio/tlf/tlf-1.4.1-r1.ebuild index 7c2ff3248f6..e5011348718 100644 --- a/media-radio/tlf/tlf-1.4.1-r1.ebuild +++ b/media-radio/tlf/tlf-1.4.1-r1.ebuild @@ -27,6 +27,15 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${P}-zone_nr.patch ) +src_prepare() { + if has_version '>=media-libs/hamlib-4.2' ; then + sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/sendqrg.c || die + fi + + eapply ${PATCHES} + eapply_user +} + src_configure() { append-ldflags -L/usr/$(get_libdir)/hamlib econf --enable-fldigi-xmlrpc