summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-13 14:16:01 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-13 14:42:41 +0200
commitb977185e928d09d6f5dc994e54855a5dc0d09d28 (patch)
treee3ff054f68483d962a18581a323eee3afef58d37 /dev-embedded/openocd/openocd-9999.ebuild
parentdev-embedded/dfu-programmer: Use acct-group/plugdev (diff)
downloadgentoo-b977185e928d09d6f5dc994e54855a5dc0d09d28.tar.gz
gentoo-b977185e928d09d6f5dc994e54855a5dc0d09d28.tar.bz2
gentoo-b977185e928d09d6f5dc994e54855a5dc0d09d28.zip
dev-embedded/openocd: Use acct-group/plugdev
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-embedded/openocd/openocd-9999.ebuild')
-rw-r--r--dev-embedded/openocd/openocd-9999.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-9999.ebuild
index 3afa1fad8b47..168fc2499564 100644
--- a/dev-embedded/openocd/openocd-9999.ebuild
+++ b/dev-embedded/openocd/openocd-9999.ebuild
@@ -3,7 +3,7 @@
EAPI="7"
-inherit eutils multilib flag-o-matic toolchain-funcs udev user
+inherit eutils multilib flag-o-matic toolchain-funcs udev
# One ebuild to rule them all
if [[ ${PV} == *9999 ]] ; then
@@ -25,7 +25,9 @@ SLOT="0"
IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io"
RESTRICT="strip" # includes non-native binaries
-RDEPEND=">=dev-lang/jimtcl-0.76:0=
+RDEPEND="
+ acct-group/plugdev
+ >=dev-lang/jimtcl-0.76:0=
cmsis-dap? ( dev-libs/hidapi )
jlink? ( dev-embedded/libjaylink )
usb? (
@@ -38,10 +40,6 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-5" #549946
-pkg_setup() {
- enewgroup plugdev
-}
-
src_prepare() {
default