summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-02-12 15:38:51 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2023-02-12 15:38:51 -0800
commit662ab2abb56e4a81f1d0053901fb1da466b34918 (patch)
treef1af29e0be0b2058b34cdcdc8e9e3d57aeb32c70 /net-nds
parentdev-libs/openssl: fix Configure on mips (diff)
downloadgentoo-662ab2abb56e4a81f1d0053901fb1da466b34918.tar.gz
gentoo-662ab2abb56e4a81f1d0053901fb1da466b34918.tar.bz2
gentoo-662ab2abb56e4a81f1d0053901fb1da466b34918.zip
net-nds/openldap: fix /run creation
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://bugs.gentoo.org/836725
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/openldap/openldap-2.6.3-r7.ebuild2
-rw-r--r--net-nds/openldap/openldap-2.6.4-r1.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/net-nds/openldap/openldap-2.6.3-r7.ebuild b/net-nds/openldap/openldap-2.6.3-r7.ebuild
index dd5276bf5a17..dd199fb41605 100644
--- a/net-nds/openldap/openldap-2.6.3-r7.ebuild
+++ b/net-nds/openldap/openldap-2.6.3-r7.ebuild
@@ -344,6 +344,8 @@ src_prepare() {
sed -i \
-e "s:\$(localstatedir)/run:${EPREFIX}/run:" \
+ -e '/MKDIR.*.(DESTDIR)\/run/d' \
+ -e '/MKDIR.*.(DESTDIR).*.(runstatedir)/d' \
servers/slapd/Makefile.in || die 'adjusting slapd Makefile.in failed'
pushd build &>/dev/null || die "pushd build"
diff --git a/net-nds/openldap/openldap-2.6.4-r1.ebuild b/net-nds/openldap/openldap-2.6.4-r1.ebuild
index 51316d05feb1..836a5b52f960 100644
--- a/net-nds/openldap/openldap-2.6.4-r1.ebuild
+++ b/net-nds/openldap/openldap-2.6.4-r1.ebuild
@@ -359,6 +359,8 @@ src_prepare() {
sed -i \
-e "s:\$(localstatedir)/run:${EPREFIX}/run:" \
+ -e '/MKDIR.*.(DESTDIR)\/run/d' \
+ -e '/MKDIR.*.(DESTDIR).*.(runstatedir)/d' \
servers/slapd/Makefile.in || die 'adjusting slapd Makefile.in failed'
pushd build &>/dev/null || die "pushd build"