Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage3
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage3')
-rw-r--r--i486-stage3/openldap/DESCR7
1 files changed, 6 insertions, 1 deletions
diff --git a/i486-stage3/openldap/DESCR b/i486-stage3/openldap/DESCR
index bbf06e2..eaab0e8 100644
--- a/i486-stage3/openldap/DESCR
+++ b/i486-stage3/openldap/DESCR
@@ -1,6 +1,11 @@
# FS#57749: relink against missing libraries in split package
sed -i 's/for dir in clients servers/for dir in libraries clients servers/' PKGBUILD
-sed -i '/usr\/share\/man\/man5\/slapo-lastbind.5/ a rm -rf ${pkgdir}/usr/{lib,include,man3}' PKGBUILD
+# ldap.conf comes in package 'libldap', also include, libs and devel man
+# => remove them in 'openldap' package
+sed -i '/usr\/share\/man\/man5\/slapo-lastbind.5/ a \
+ rm -rf ${pkgdir}/etc/openldap/ldap.conf \
+ rm -rf ${pkgdir}/usr/{lib,include,man3} \
+' PKGBUILD
# we actually need only libldap, but installing openldap doesn't harm us
ADDITIONAL_INSTALL_PACKAGE=libldap