summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-05-13 08:11:25 -0500
committerBen Kohler <bkohler@gentoo.org>2021-05-13 08:12:05 -0500
commit37185b74ecef0c62116ef5733b5b36cbb9c475c6 (patch)
treed265f329b07b8dfab504d51388bf67bea4faeb26 /net-wireless
parentsys-libs/kpmcore: drop 21.04.0* (diff)
downloadgentoo-37185b74ecef0c62116ef5733b5b36cbb9c475c6.tar.gz
gentoo-37185b74ecef0c62116ef5733b5b36cbb9c475c6.tar.bz2
gentoo-37185b74ecef0c62116ef5733b5b36cbb9c475c6.zip
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@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/iwd/iwd-1.14.ebuild7
-rw-r--r--net-wireless/iwd/iwd-9999.ebuild7
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 b09c7610802a..02a955c8d7b2 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 47494b053c37..bea6be6a9ea8 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