Install this version:
emerge -a =net-misc/mbpoll-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/mbpoll-9999
Or alternatively:
emerge --autounmask-write -a =net-misc/mbpoll-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 cmake
DESCRIPTION="command line utility to communicate with ModBus slave (RTU or TCP)"
HOMEPAGE="https://github.com/epsilonrt/mbpoll"
EGIT_REPO_URI="https://github.com/epsilonrt/${PN}"
LICENSE="GPL-3"
SLOT="0"
DEPEND="dev-libs/libmodbus"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/add_definitions(-O2)//' CMakeLists.txt
sed -i -e 's/-O2 //' CMakeLists.txt
cmake_src_prepare
}