commit: 37185b74ecef0c62116ef5733b5b36cbb9c475c6 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Thu May 13 13:11:25 2021 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Thu May 13 13:12:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37185b74
net-wireless/iwd: make sure not to call rst2man on official releases Closes: https://bugs.gentoo.org/789588 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> net-wireless/iwd/iwd-1.14.ebuild | 7 ++++++- net-wireless/iwd/iwd-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net-wireless/iwd/iwd-1.14.ebuild b/net-wireless/iwd/iwd-1.14.ebuild index b09c7610802..02a955c8d7b 100644 --- a/net-wireless/iwd/iwd-1.14.ebuild +++ b/net-wireless/iwd/iwd-1.14.ebuild @@ -14,6 +14,7 @@ if [[ ${PV} == *9999* ]]; then else SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + MYRST2MAN="RST2MAN=:" fi DESCRIPTION="Wireless daemon for linux" @@ -150,8 +151,12 @@ src_configure() { econf "${myeconfargs[@]}" } +src_compile() { + emake ${MYRST2MAN} +} + src_install() { - default + emake DESTDIR="${D}" ${MYRST2MAN} install keepdir /var/lib/${PN} newinitd "${FILESDIR}/iwd.initd-r1" iwd diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild index 47494b053c3..bea6be6a9ea 100644 --- a/net-wireless/iwd/iwd-9999.ebuild +++ b/net-wireless/iwd/iwd-9999.ebuild @@ -14,6 +14,7 @@ if [[ ${PV} == *9999* ]]; then else SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + MYRST2MAN="RST2MAN=:" fi DESCRIPTION="Wireless daemon for linux" @@ -150,8 +151,12 @@ src_configure() { econf "${myeconfargs[@]}" } +src_compile() { + emake ${MYRST2MAN} +} + src_install() { - default + emake DESTDIR="${D}" ${MYRST2MAN} install keepdir /var/lib/${PN} newinitd "${FILESDIR}/iwd.initd-r1" iwd