From b379443647378ff45481dbd441da4fffa4eca460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= Date: Thu, 11 Aug 2022 12:38:46 +0100 Subject: [PATCH] openldap: fix template building --- srcpkgs/openldap/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template index a0d96aaca21..a8ba40d111c 100644 --- a/srcpkgs/openldap/template +++ b/srcpkgs/openldap/template @@ -13,7 +13,7 @@ configure_args="--prefix=/usr --enable-syslog --enable-slapd --enable-crypt --enable-spasswd --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod --disable-static --with-yielding_select=yes --enable-modules" -hostmakedepends="pkg-config groff automake libtool" +hostmakedepends="pkg-config groff" makedepends="openssl-devel libsasl-devel db-devel libltdl-devel" depends="openldap-tools>=${version}_${revision}" conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf" @@ -31,7 +31,6 @@ pre_configure() { sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in - aclocal; autoconf; autoheader; libtoolize -f } post_install() { ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd