Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsd/
Date: Mon, 08 Nov 2021 03:22:08
Message-Id: 1636341718.ecdbe4d5889f29da10e7ae49a8d9fc330700de6d.floppym@gentoo
1 commit: ecdbe4d5889f29da10e7ae49a8d9fc330700de6d
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 03:08:04 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 03:21:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdbe4d5
7
8 sci-geosciences/gpsd: fix systemd unit path
9
10 Closes: https://bugs.gentoo.org/822327
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 sci-geosciences/gpsd/{gpsd-3.23.1.ebuild => gpsd-3.23.1-r1.ebuild} | 4 ++--
14 sci-geosciences/gpsd/gpsd-9999.ebuild | 4 ++--
15 2 files changed, 4 insertions(+), 4 deletions(-)
16
17 diff --git a/sci-geosciences/gpsd/gpsd-3.23.1.ebuild b/sci-geosciences/gpsd/gpsd-3.23.1-r1.ebuild
18 similarity index 98%
19 rename from sci-geosciences/gpsd/gpsd-3.23.1.ebuild
20 rename to sci-geosciences/gpsd/gpsd-3.23.1-r1.ebuild
21 index 04c23389ed2..d602376843e 100644
22 --- a/sci-geosciences/gpsd/gpsd-3.23.1.ebuild
23 +++ b/sci-geosciences/gpsd/gpsd-3.23.1-r1.ebuild
24 @@ -7,7 +7,7 @@ DISTUTILS_OPTIONAL=1
25 PYTHON_COMPAT=( python3_{8,9,10} )
26 SCONS_MIN_VERSION="2.3.0"
27
28 -inherit udev distutils-r1 scons-utils toolchain-funcs
29 +inherit udev distutils-r1 scons-utils systemd toolchain-funcs
30
31 if [[ ${PV} == "9999" ]] ; then
32 EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git"
33 @@ -146,7 +146,7 @@ src_configure() {
34 gpsd_group=dialout
35 nostrip=True
36 systemd=$(usex systemd)
37 - unitdir="\$prefix/$(get_libdir)"
38 + unitdir="$(systemd_get_systemunitdir)"
39 shared=$(usex !static True False)
40 bluez=$(usex bluetooth)
41 libgpsmm=$(usex cxx)
42
43 diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild
44 index 456c84a9790..4e8c7af4c74 100644
45 --- a/sci-geosciences/gpsd/gpsd-9999.ebuild
46 +++ b/sci-geosciences/gpsd/gpsd-9999.ebuild
47 @@ -7,7 +7,7 @@ DISTUTILS_OPTIONAL=1
48 PYTHON_COMPAT=( python3_{8,9,10} )
49 SCONS_MIN_VERSION="2.3.0"
50
51 -inherit udev distutils-r1 scons-utils toolchain-funcs
52 +inherit udev distutils-r1 scons-utils systemd toolchain-funcs
53
54 if [[ ${PV} == "9999" ]] ; then
55 EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git"
56 @@ -146,7 +146,7 @@ src_configure() {
57 gpsd_group=dialout
58 nostrip=True
59 systemd=$(usex systemd)
60 - unitdir="\$prefix/$(get_libdir)"
61 + unitdir="$(systemd_get_systemunitdir)"
62 shared=$(usex !static True False)
63 bluez=$(usex bluetooth)
64 libgpsmm=$(usex cxx)