aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dnssec-tools
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dnssec-tools')
-rw-r--r--testing/dnssec-tools/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/dnssec-tools/APKBUILD b/testing/dnssec-tools/APKBUILD
index 20d330f424..ea0a2d3246 100644
--- a/testing/dnssec-tools/APKBUILD
+++ b/testing/dnssec-tools/APKBUILD
@@ -8,7 +8,7 @@ url="https://www.dnssec-tools.org/"
arch="all"
license="GPL3"
makedepends="autoconf automake bind-dev libtool openssl-dev perl-graphviz perl-crypt-openssl-random
- perl-net-dns perl-net-dns-sec perl-xml-simple perl-dev sed"
+ perl-net-dns perl-net-dns-sec perl-xml-simple perl-dev sed chrpath"
source="http://www.dnssec-tools.org/download/dnssec-tools-2.1.tar.gz"
subpackages="$pkgname-dev"
@@ -33,13 +33,14 @@ prepare() {
build() {
cd "${_builddir}"
+ CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE=1"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-bind-checks \
- --without-validator \
+ --with-validator \
--with-perl-build-args=INSTALLDIRS=vendor
make || return 1
}
@@ -48,6 +49,8 @@ package() {
cd "${_builddir}"
mkdir -p "${pkgdir}"/usr/share/man/man1
make DESTDIR="${pkgdir}" install || return 1
+ rm -f "${pkgdir}"/usr/lib/*.la
+ chrpath -d "${pkgdir}"/usr/bin/dt-*
}
md5sums="b4c76b325c380780682a548730d3e09a dnssec-tools-2.1.tar.gz"