diff options
Diffstat (limited to 'main/openldap')
-rw-r--r-- | main/openldap/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index 055b82a57e..51961c8bc1 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openldap pkgver=2.4.25 -pkgrel=1 +pkgrel=2 pkgdesc="LDAP Server" url="http://www.openldap.org/" arch="all" @@ -66,7 +66,9 @@ build () { package() { cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/openldap/*.la \ + "$pkgdir"/usr/lib/*.la || return 1 install -d "$pkgdir"/var/run/openldap sed -i -e 's:/var/lib/openldap/run:/var/run/openldap:g' \ |