aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-29 11:57:16 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-29 11:57:16 +0000
commite2f7e6c743d23f82e1620076fcc5330a347ae02a (patch)
tree58b65a4e822ff714d72d1681b0cc02076e5c2c9d /main/openldap/APKBUILD
parent3c6df09b389734f308af2ad5c164a229fe18229d (diff)
downloadaports-e2f7e6c743d23f82e1620076fcc5330a347ae02a.tar.bz2
aports-e2f7e6c743d23f82e1620076fcc5330a347ae02a.tar.xz
main/openldp: fix musl build
Diffstat (limited to 'main/openldap/APKBUILD')
-rw-r--r--main/openldap/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index e3570252c1..5e354d4465 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -39,7 +39,7 @@ prepare() {
# berkdb crypt ipv6 ssl
build () {
cd "$srcdir"/$pkgname-$pkgver
-
+ [ "$CLIBC" = "musl" ] && export CFLAGS="$CFLAGS -DNULL=0L"
./configure \
--build=$CBUILD \
--host=$CHOST \