summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-22 13:52:54 +0000
committerSam James <sam@gentoo.org>2024-11-22 13:53:53 +0000
commita65c64a0e8e0d5448848bdade9156808c8b6b022 (patch)
tree8e5b34ca7cf11cd45f61daceb652fbaffe12c135 /sys-apps/ifplugd
parentsys-apps/ifplugd: fix incompatible pointer types (diff)
downloadgentoo-a65c64a0e8e0d5448848bdade9156808c8b6b022.tar.gz
gentoo-a65c64a0e8e0d5448848bdade9156808c8b6b022.tar.bz2
gentoo-a65c64a0e8e0d5448848bdade9156808c8b6b022.zip
sys-apps/ifplugd: misc fixes
* Move eautoreconf to src_prepare * Don't drop various keywords * Use BDEPEND Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28-r12.ebuild23
1 files changed, 16 insertions, 7 deletions
diff --git a/sys-apps/ifplugd/ifplugd-0.28-r12.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r12.ebuild
index 6a8cb71d2f87..b9f483e7ccc6 100644
--- a/sys-apps/ifplugd/ifplugd-0.28-r12.ebuild
+++ b/sys-apps/ifplugd/ifplugd-0.28-r12.ebuild
@@ -11,15 +11,19 @@ SRC_URI="http://0pointer.de/lennart/projects/ifplugd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86"
IUSE="doc selinux"
-DEPEND="virtual/pkgconfig
- doc? ( www-client/lynx )
- >=dev-libs/libdaemon-0.5"
-RDEPEND=">=dev-libs/libdaemon-0.5
+DEPEND=">=dev-libs/libdaemon-0.5"
+RDEPEND="
+ ${DEPEND}
>=sys-apps/baselayout-1.12
- selinux? ( sec-policy/selinux-ifplugd )"
+ selinux? ( sec-policy/selinux-ifplugd )
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( www-client/lynx )
+"
PATCHES=(
"${FILESDIR}/${P}-nlapi.diff"
@@ -34,8 +38,13 @@ PATCHES=(
DOCS=( doc/README doc/SUPPORTED_DRIVERS )
HTML_DOCS=( doc/README.html doc/style.css )
-src_configure() {
+src_prepare() {
+ default
+
eautoreconf
+}
+
+src_configure() {
econf \
$(use_enable doc lynx) \
--with-initdir=/etc/init.d \