aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-04-21 17:03:09 -0400
committerJulien Roy <julien@jroy.ca>2024-04-21 17:03:09 -0400
commitc90c4c565c1db9e495521bd19d35b709243c8aa9 (patch)
tree29e73157c27bdf687b634d8cb3940dd7c3fcc9fe /sys-libs
parentsys-libs/nss-tls: fix for bug 928369, general improvement (diff)
downloadguru-c90c4c565c1db9e495521bd19d35b709243c8aa9.tar.gz
guru-c90c4c565c1db9e495521bd19d35b709243c8aa9.tar.bz2
guru-c90c4c565c1db9e495521bd19d35b709243c8aa9.zip
sys-libs/nss-tls: fix up
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/nss-tls/nss-tls-1.1-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/nss-tls/nss-tls-1.1-r1.ebuild b/sys-libs/nss-tls/nss-tls-1.1-r1.ebuild
index 74f3c2550..e32ca4c1d 100644
--- a/sys-libs/nss-tls/nss-tls-1.1-r1.ebuild
+++ b/sys-libs/nss-tls/nss-tls-1.1-r1.ebuild
@@ -12,6 +12,7 @@ inherit meson systemd
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
RDEPEND="
dev-libs/glib
@@ -26,9 +27,9 @@ src_prepare() {
sed -e "s/@0@\/run\/nss-tls/\/var\/run\/nss-tls/" -i "${S}"/meson.build || die
if use systemd; then
- sed -i -e "s/systemd = /systemd = dependency('systemd')" meson.build || die
+ sed -i -e "s/systemd = .*/systemd = dependency('systemd')/" meson.build || die
else
- sed -i -e "s/systemd = /systemd = disabler()" meson.build || die
+ sed -i -e "s/systemd = .*/systemd = disabler()/" meson.build || die
fi
}