aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-05 12:10:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-05 12:10:16 +0000
commitf745d948dd78286faf43646555df7d99a2540768 (patch)
treed22a41485a839fa9ff72a86b2da1d386313291b6
parent15eb98780f3c051d2835df3860b5bcba16bf1aae (diff)
downloadaports-f745d948dd78286faf43646555df7d99a2540768.tar.bz2
aports-f745d948dd78286faf43646555df7d99a2540768.tar.xz
main/varnish: create /etc/varnish dir and fix deps
we need libgcc for generating the config
-rw-r--r--main/varnish/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/varnish/APKBUILD b/main/varnish/APKBUILD
index 28f2ebbb75..d04085ee17 100644
--- a/main/varnish/APKBUILD
+++ b/main/varnish/APKBUILD
@@ -3,12 +3,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=varnish
pkgver=4.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="High-performance HTTP accelerator"
url="http://www.varnish-cache.org/"
arch="all"
license="BSD"
-depends="gcc libc-dev"
+depends="gcc libc-dev libgcc"
depends_dev=
makedepends="$depends_dev pcre-dev ncurses-dev libedit-dev py-docutils"
install="varnish.pre-install"
@@ -65,6 +65,7 @@ package() {
"$pkgdir"/var/log/varnish \
"$pkgdir"/var/lib/varnish \
|| return 1
+ install -d "$pkgdir"/etc/varnish || return 1
find "$pkgdir" -name *.la -print | xargs rm
}