mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user