commit:     358d4384de7945f07a338d54129c31d755a90b2f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 23:56:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 23:56:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358d4384

sci-geosciences/gpsd: fix installation of udev/hotplug files

Closes: https://bugs.gentoo.org/807661
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/gpsd/gpsd-3.23.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-geosciences/gpsd/gpsd-3.23.ebuild 
b/sci-geosciences/gpsd/gpsd-3.23.ebuild
index b6f5d935d70..fa8c1276e64 100644
--- a/sci-geosciences/gpsd/gpsd-3.23.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.23.ebuild
@@ -85,6 +85,9 @@ src_prepare() {
                die "please sync ebuild & source"
        fi
 
+       # bug #807661
+       sed -i -e 's:$SRCDIR/gpsd.hotplug:$SRCDIR/../gpsd.hotplug:' SConscript 
|| die
+
        default
 
        use python && distutils-r1_src_prepare
@@ -183,7 +186,7 @@ src_compile() {
 }
 
 src_install() {
-       DESTDIR="${D}" escons install "${scons_opts[@]}" $(usex udev 
udev-install "")
+       DESTDIR="${D}" escons install "${scons_opts[@]}" $(usex udev 
udev-install '')
 
        newconfd "${FILESDIR}"/gpsd.conf-2 gpsd
        newinitd "${FILESDIR}"/gpsd.init-2 gpsd

Reply via email to