diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2021-06-23 13:03:43 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2021-06-23 13:03:43 +0200 |
commit | ed52fe19968d1a1412da63b9a583a92cd91825a7 (patch) | |
tree | ee3a8670829a68cb60881f8c0519707cfff64843 /media-radio/tlf | |
parent | media-radio/tlf: Add subslot dependency (diff) | |
download | gentoo-ed52fe19968d1a1412da63b9a583a92cd91825a7.tar.gz gentoo-ed52fe19968d1a1412da63b9a583a92cd91825a7.tar.bz2 gentoo-ed52fe19968d1a1412da63b9a583a92cd91825a7.zip |
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 <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/tlf')
-rw-r--r-- | media-radio/tlf/tlf-1.4.1-r1.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/media-radio/tlf/tlf-1.4.1-r1.ebuild b/media-radio/tlf/tlf-1.4.1-r1.ebuild index 7c2ff3248f6b..e50113487189 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 |