commit: 7158269938d3357d60b205354369cbc6c405d00b
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 28 17:12:42 2020 +0000
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jul 28 18:12:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71582699
sci-geosciences/gpsd: fix systemd units
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
sci-geosciences/gpsd/gpsd-3.20.ebuild | 5 +++++
sci-geosciences/gpsd/gpsd-9999.ebuild | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/sci-geosciences/gpsd/gpsd-3.20.ebuild
b/sci-geosciences/gpsd/gpsd-3.20.ebuild
index 14a77077867..5b207643d5d 100644
--- a/sci-geosciences/gpsd/gpsd-3.20.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.20.ebuild
@@ -89,6 +89,10 @@ src_prepare() {
-e 's:\<STAGING_PREFIX\>:SYSROOT:g' \
SConstruct || die
+ #Fix systemd binary paths
+ sed -i -e 's/local\///' 'systemd/gpsd.service'
+ sed -i -e 's/local\///' 'systemd/[email protected]'
+
default
use python && distutils-r1_src_prepare
@@ -124,6 +128,7 @@ src_configure() {
prefix="${EPREFIX}/usr"
libdir="\$prefix/$(get_libdir)"
udevdir="$(get_udevdir)"
+ rundir="/run"
chrpath=False
gpsd_user=gpsd
gpsd_group=uucp
diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild
b/sci-geosciences/gpsd/gpsd-9999.ebuild
index cd96667f22e..73c52f149eb 100644
--- a/sci-geosciences/gpsd/gpsd-9999.ebuild
+++ b/sci-geosciences/gpsd/gpsd-9999.ebuild
@@ -89,6 +89,10 @@ src_prepare() {
-e 's:\<STAGING_PREFIX\>:SYSROOT:g' \
SConstruct || die
+ #Fix systemd binary paths
+ sed -i -e 's/local\///' 'systemd/gpsd.service'
+ sed -i -e 's/local\///' 'systemd/[email protected]'
+
default
use python && distutils-r1_src_prepare
@@ -128,6 +132,7 @@ src_configure() {
prefix="${EPREFIX}/usr"
libdir="\$prefix/$(get_libdir)"
udevdir="$(get_udevdir)"
+ rundir="/run"
chrpath=False
gpsd_user=gpsd
gpsd_group=uucp