aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-13 07:43:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-13 07:43:43 +0000
commit52620f3a337e3ca86ac2395deaf802f039c5348d (patch)
treea7965bd4774123fe94fc1814f17ba288042b8e38 /main/openldap
parentb11788ea764649b024cc1317749f5a537c48fb04 (diff)
downloadaports-52620f3a337e3ca86ac2395deaf802f039c5348d.tar.bz2
aports-52620f3a337e3ca86ac2395deaf802f039c5348d.tar.xz
main/openldap: build fix
make sure we dont strip binaries Useful when rebuilding with debuging and symbols.
Diffstat (limited to 'main/openldap')
-rw-r--r--main/openldap/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 4ad917f0ac..6e5637e52f 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -22,15 +22,21 @@ source="ftp://ftp.$pkgname.org/pub/OpenLDAP/$pkgname-release/$pkgname-$pkgver.tg
slurpd.initd
"
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ sed -e '/^STRIP/s,-s,,g' \
+ -i build/top.mk || return 1
+}
+
# berkdb crypt ipv6 ssl
build () {
cd "$srcdir"/$pkgname-$pkgver
- for i in ../*.patch; do
- msg "Applying $i..."
- patch -p1 < $i || return 1
- done
-
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \