mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/varnish: fix build on eglibc
This commit is contained in:
parent
bd18758a76
commit
cf47c99737
@ -7,7 +7,7 @@ pkgdesc="High-performance HTTP accelerator"
|
||||
url="http://www.varnish-cache.org/"
|
||||
arch="all"
|
||||
license="BSD"
|
||||
depends="gcc uclibc-dev"
|
||||
depends="gcc"
|
||||
depends_dev=
|
||||
makedepends="$depends_dev pcre-dev ncurses-dev"
|
||||
install=""
|
||||
@ -18,6 +18,12 @@ source="http://repo.varnish-cache.org/source/varnish-$pkgver.tar.gz
|
||||
varnishd.logrotate
|
||||
varnish-3.0.3-pthread-uclibc.patch"
|
||||
|
||||
if [ "$ALPINE_LIBC" != "eglibc" ]; then
|
||||
depends="$depends uclibc-dev"
|
||||
else
|
||||
depends="$depends eglibc-dev"
|
||||
fi
|
||||
|
||||
_builddir="$srcdir"/varnish-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user