public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/
Date: Thu, 28 Apr 2022 03:34:11 +0000 (UTC)	[thread overview]
Message-ID: <1651116752.0e5d1c23810cc4716ebafd7b2f2ecee276b424c3.sam@gentoo> (raw)

commit:     0e5d1c23810cc4716ebafd7b2f2ecee276b424c3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:32:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:32:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5d1c23

net-misc/dahdi-tools: use udev.eclass; call udev_reload

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild
index 33e37114b885..49903c27e61a 100644
--- a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild
+++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools bash-completion-r1 perl-functions
+inherit autotools bash-completion-r1 perl-functions udev
 
 DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi"
 HOMEPAGE="https://www.asterisk.org"
@@ -47,7 +47,7 @@ src_install() {
 	local bashcompdir="$(get_bashcompdir)"
 	local bashcmd bashcmdtarget
 
-	emake DESTDIR="${ED}" bashcompdir="${bashcompdir}" udevrulesdir=/lib/udev/rules.d install
+	emake DESTDIR="${ED}" bashcompdir="${bashcompdir}" udevrulesdir="$(get_udevdir)/rules.d" install
 	emake DESTDIR="${ED}" install-config
 
 	dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
@@ -64,3 +64,7 @@ src_install() {
 	# Delete *if* the libtool file exists, bug #778380
 	find "${ED}" -name '*.la' -delete || die
 }
+
+pkg_postinst() {
+	udev_reload
+}


             reply	other threads:[~2022-04-28  3:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28  3:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-24  5:55 [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/ Joonas Niilola
2021-07-24  5:55 Joonas Niilola
2021-03-26 14:52 Sam James
2021-03-26  7:50 Agostino Sarubbo
2021-03-12 18:35 Sam James
2021-01-24  8:09 Joonas Niilola
2020-07-20 12:24 Sam James
2020-07-20  9:01 Joonas Niilola
2020-07-16 17:45 Sam James
2020-04-16  8:11 Joonas Niilola
2020-04-13 14:53 Agostino Sarubbo
2020-04-13 10:14 Agostino Sarubbo
2020-01-10  5:43 Joonas Niilola
2017-02-23 12:44 Michael Weber
2017-02-23  9:08 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651116752.0e5d1c23810cc4716ebafd7b2f2ecee276b424c3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox