Subject: [alpine-aports] [PATCH] main/seafile: fix build

From: Christian Kampka <[email-masked]>
Date: Mon, 9 Nov 2015 23:27:29 +0100

---
 main/seafile/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/seafile/APKBUILD b/main/seafile/APKBUILD
index f15956d..b0ba2e9 100644
--- a/main/seafile/APKBUILD
+++ b/main/seafile/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=seafile
 pkgver=4.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Cloud storage system with advanced support for file syncing, privacy protection and teamwork"
 url="https://github.com/haiwen/seafile/"
 arch="all"
@@ -10,7 +10,7 @@ license="GPL3"
 makedepends="autoconf automake bash ccnet-dev curl-dev fuse-dev glib-dev
 	intltool jansson-dev libarchive-dev libevent-dev libevhtp-dev
 	libsearpc-dev libtool libzdb-dev openssl-dev sqlite-dev util-linux-dev
-	vala bsd-compat-headers"
+	vala bsd-compat-headers libevhtp-dev"
 depends="bash ${pkgname}-common"
 pkgusers="seafile"
 pkggroups="seafile"
@@ -45,7 +45,7 @@ build() {
 		--enable-fuse \
 		--enable-client \
 		--enable-console
-	make || return 1
+	make CFLAGS="$CFLAGS $(pkgconf --cflags evhtp)" || return 1
 }
 
 package() {
-- 
2.6.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---