aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:21:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:21:16 +0000
commit1848bea72577fad501069aab5e54ccef85bcdd23 (patch)
treec1a1c5922b341cd0806eac1b8879a71266b1ff7a /main/openldap/APKBUILD
parent72222f5fb2b7c7b4c22183303e4973085aea8bd8 (diff)
downloadaports-1848bea72577fad501069aab5e54ccef85bcdd23.tar.bz2
aports-1848bea72577fad501069aab5e54ccef85bcdd23.tar.xz
main/openldap: remove *.la
Diffstat (limited to 'main/openldap/APKBUILD')
-rw-r--r--main/openldap/APKBUILD6
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' \