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-0.9.0.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-0.9.0.ebuild')
-rw-r--r--dev-embedded/openocd/openocd-0.9.0.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-embedded/openocd/openocd-0.9.0.ebuild b/dev-embedded/openocd/openocd-0.9.0.ebuild
index d6d36ec4b0a1..c7878693cd02 100644
--- a/dev-embedded/openocd/openocd-0.9.0.ebuild
+++ b/dev-embedded/openocd/openocd-0.9.0.ebuild
@@ -3,7 +3,7 @@
EAPI="5"
-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 parport +usb verbose-io"
RESTRICT="strip" # includes non-native binaries
-RDEPEND=">=dev-lang/jimtcl-0.76
+RDEPEND="
+ acct-group/plugdev
+ >=dev-lang/jimtcl-0.76
cmsis-dap? ( dev-libs/hidapi )
usb? (
virtual/libusb:0
@@ -36,10 +38,6 @@ RDEPEND=">=dev-lang/jimtcl-0.76
DEPEND="${RDEPEND}
virtual/pkgconfig"
-pkg_setup() {
- enewgroup plugdev
-}
-
src_prepare() {
epatch_user