commit:     82e0c0ea184a60062250520ced7bf6e319a2e609
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 10 23:50:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 10 23:50:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e0c0ea

sci-geosciences/gpsd: adjust udev rule based on USE=systemd

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

 sci-geosciences/gpsd/gpsd-3.23.ebuild | 4 ++--
 sci-geosciences/gpsd/gpsd-9999.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-geosciences/gpsd/gpsd-3.23.ebuild 
b/sci-geosciences/gpsd/gpsd-3.23.ebuild
index d42188087c8..316786473e7 100644
--- a/sci-geosciences/gpsd/gpsd-3.23.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.23.ebuild
@@ -30,7 +30,7 @@ GPSD_PROTOCOLS=(
        superstar2 tnt tripmate tsip ublox
 )
 IUSE_GPSD_PROTOCOLS=${GPSD_PROTOCOLS[@]/#/+gpsd_protocols_}
-IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing 
ncurses ntp python qt5 +shm +sockets static test udev usb X"
+IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing 
ncurses ntp python qt5 +shm +sockets static systemd test udev usb X"
 REQUIRED_USE="X? ( python )
        gpsd_protocols_nmea2000? ( gpsd_protocols_aivdm )
        gpsd_protocols_isync? ( gpsd_protocols_ublox )
@@ -137,7 +137,7 @@ src_configure() {
                gpsd_user=gpsd
                gpsd_group=dialout
                nostrip=True
-               systemd=yes
+               systemd=$(usex systemd)
                unitdir="\$prefix/$(get_libdir)"
                shared=$(usex !static True False)
                bluez=$(usex bluetooth)

diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild 
b/sci-geosciences/gpsd/gpsd-9999.ebuild
index d42188087c8..316786473e7 100644
--- a/sci-geosciences/gpsd/gpsd-9999.ebuild
+++ b/sci-geosciences/gpsd/gpsd-9999.ebuild
@@ -30,7 +30,7 @@ GPSD_PROTOCOLS=(
        superstar2 tnt tripmate tsip ublox
 )
 IUSE_GPSD_PROTOCOLS=${GPSD_PROTOCOLS[@]/#/+gpsd_protocols_}
-IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing 
ncurses ntp python qt5 +shm +sockets static test udev usb X"
+IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing 
ncurses ntp python qt5 +shm +sockets static systemd test udev usb X"
 REQUIRED_USE="X? ( python )
        gpsd_protocols_nmea2000? ( gpsd_protocols_aivdm )
        gpsd_protocols_isync? ( gpsd_protocols_ublox )
@@ -137,7 +137,7 @@ src_configure() {
                gpsd_user=gpsd
                gpsd_group=dialout
                nostrip=True
-               systemd=yes
+               systemd=$(usex systemd)
                unitdir="\$prefix/$(get_libdir)"
                shared=$(usex !static True False)
                bluez=$(usex bluetooth)

Reply via email to