commit: ecdbe4d5889f29da10e7ae49a8d9fc330700de6d Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Mon Nov 8 03:08:04 2021 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Mon Nov 8 03:21:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdbe4d5
sci-geosciences/gpsd: fix systemd unit path Closes: https://bugs.gentoo.org/822327 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sci-geosciences/gpsd/{gpsd-3.23.1.ebuild => gpsd-3.23.1-r1.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.1.ebuild b/sci-geosciences/gpsd/gpsd-3.23.1-r1.ebuild similarity index 98% rename from sci-geosciences/gpsd/gpsd-3.23.1.ebuild rename to sci-geosciences/gpsd/gpsd-3.23.1-r1.ebuild index 04c23389ed2..d602376843e 100644 --- a/sci-geosciences/gpsd/gpsd-3.23.1.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.23.1-r1.ebuild @@ -7,7 +7,7 @@ DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{8,9,10} ) SCONS_MIN_VERSION="2.3.0" -inherit udev distutils-r1 scons-utils toolchain-funcs +inherit udev distutils-r1 scons-utils systemd toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git" @@ -146,7 +146,7 @@ src_configure() { gpsd_group=dialout nostrip=True systemd=$(usex systemd) - unitdir="\$prefix/$(get_libdir)" + unitdir="$(systemd_get_systemunitdir)" shared=$(usex !static True False) bluez=$(usex bluetooth) libgpsmm=$(usex cxx) diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild index 456c84a9790..4e8c7af4c74 100644 --- a/sci-geosciences/gpsd/gpsd-9999.ebuild +++ b/sci-geosciences/gpsd/gpsd-9999.ebuild @@ -7,7 +7,7 @@ DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{8,9,10} ) SCONS_MIN_VERSION="2.3.0" -inherit udev distutils-r1 scons-utils toolchain-funcs +inherit udev distutils-r1 scons-utils systemd toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git" @@ -146,7 +146,7 @@ src_configure() { gpsd_group=dialout nostrip=True systemd=$(usex systemd) - unitdir="\$prefix/$(get_libdir)" + unitdir="$(systemd_get_systemunitdir)" shared=$(usex !static True False) bluez=$(usex bluetooth) libgpsmm=$(usex cxx)
