diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-02 17:43:07 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-02 17:48:20 +0200 |
commit | f74f812881c0e074cf523a352eaab130c44caa71 (patch) | |
tree | c7e76db3ebefbba20436db01afcd4444bfc38e8d /community/knot/APKBUILD | |
parent | ea67f45fe1840ad3991066593657d2487f0a0862 (diff) | |
download | aports-f74f812881c0e074cf523a352eaab130c44caa71.tar.bz2 aports-f74f812881c0e074cf523a352eaab130c44caa71.tar.xz |
community/knot: use system-provided lmdb
Diffstat (limited to 'community/knot/APKBUILD')
-rw-r--r-- | community/knot/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/community/knot/APKBUILD b/community/knot/APKBUILD index 3deda3691b..477916b396 100644 --- a/community/knot/APKBUILD +++ b/community/knot/APKBUILD @@ -10,8 +10,8 @@ url="https://www.knot-dns.cz" arch="all" license="GPL3" depends="" -depends_dev="gnutls-dev libedit-dev jansson-dev libcap-ng-dev - libidn-dev openssl-dev userspace-rcu-dev zlib-dev" +depends_dev="gnutls-dev libedit-dev jansson-dev libcap-ng-dev libidn-dev + lmdb-dev openssl-dev userspace-rcu-dev zlib-dev" makedepends="$depends_dev m4 bison flex perl libtool" install="$pkgname.pre-install $pkgname.post-install" pkgusers="knot" @@ -23,6 +23,14 @@ source="https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz " builddir="$srcdir/$pkgname-$pkgver" +prepare() { + default_prepare || return 1 + + cd "$builddir" + # Make sure embedded LMDB library is not used. + rm -rf src/contrib/lmdb +} + build() { cd "$builddir" ./configure \ |