diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-18 16:03:36 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-18 16:06:21 +0100 |
commit | 8320da39831b707a01f1212dd759f4f92d03aeb4 (patch) | |
tree | 9b1b332f29f703ccb2caa0f6a4d4b140060943a3 /main/djbdns | |
parent | f3e9b786177a3ad5f848243585d7f0d5d3dbb7e7 (diff) | |
download | aports-8320da39831b707a01f1212dd759f4f92d03aeb4.tar.bz2 aports-8320da39831b707a01f1212dd759f4f92d03aeb4.tar.xz |
main/djbdns: fix tinydns on 64 bit
The jumbo patch includes the 32bit version of the generated header files.
This might break 64 bit builds depending on unpacking timestamps etc.
We fix it by removing the generated headers
ref #933
Diffstat (limited to 'main/djbdns')
-rw-r--r-- | main/djbdns/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/djbdns/APKBUILD b/main/djbdns/APKBUILD index 148ab2ec3d..1514b9dfdf 100644 --- a/main/djbdns/APKBUILD +++ b/main/djbdns/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=djbdns pkgver=1.05 -pkgrel=40 +pkgrel=41 pkgdesc="Excellent high-performance DNS services" url="http://cr.yp.to/djbdns.html" arch="all" @@ -34,6 +34,9 @@ prepare() { *.diff.gz) msg $i; gunzip -c "$srcdir"/$i | patch -p1 || return 1;; esac done + # remove all the generated headers. they came with the jumbo patch and should + # never have been there... + sed -n 's/^\([a-z]\+\.h\):.*/\1/gp' Makefile Makefile.sig | xargs rm -f } build() { |