mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-radio/qsstv: 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:
@@ -40,6 +40,12 @@ src_prepare() {
|
||||
sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
|
||||
-e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
|
||||
qsstv.pro || die
|
||||
|
||||
# prepare for media-radio/hamlib-4.2 change of API
|
||||
if has_version '>=media-libs/hamlib-4.2' ; then
|
||||
sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/rig/rigcontrol.cpp \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user