commit:     24304c1b500773ed0a350d38456331c681fe8a83
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 15 12:34:31 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Sep 15 12:34:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24304c1b

net-misc/mstpd: Change localstatedir to "${EPREFIX}/"

- Old value would reference legacy directory (/var/run), which would
  result in the following message:
```
/lib/systemd/system/mstpd.service:8: PIDFile= references a path below
legacy directory /var/run/, updating /var/run/mstpd.pid →
/run/mstpd.pid; please update the unit file accordingly.
```

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 net-misc/mstpd/{mstpd-0.0.9.ebuild => mstpd-0.0.9-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/mstpd/mstpd-0.0.9.ebuild 
b/net-misc/mstpd/mstpd-0.0.9-r1.ebuild
similarity index 95%
rename from net-misc/mstpd/mstpd-0.0.9.ebuild
rename to net-misc/mstpd/mstpd-0.0.9-r1.ebuild
index 06a8a8618cf..29d66dea87e 100644
--- a/net-misc/mstpd/mstpd-0.0.9.ebuild
+++ b/net-misc/mstpd/mstpd-0.0.9-r1.ebuild
@@ -22,7 +22,7 @@ src_configure() {
        econf \
                --with-bashcompletiondir="$(get_bashcompdir)" \
                --with-systemdunitdir="$(systemd_get_systemunitdir)" \
-               --localstatedir="${EPREFIX}"/var
+               --localstatedir="${EPREFIX}"/
 }
 
 src_install() {

Reply via email to