comic-git: use our own CC and disable -Werror

This commit is contained in:
Ypnose 2014-09-19 18:39:15 +00:00
parent 183570e8da
commit 4a71188d7c
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'comic-git'
pkgname=comic-git
version=20140919
revision=1
revision=2
hostmakedepends="git"
makedepends="libX11-devel libjpeg-turbo-devel"
build_style=gnu-makefile
@ -21,8 +21,10 @@ do_fetch() {
pre_build() {
sed -i 's| -I/usr/include||g' config.mk
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
sed -i 's| -Werror||g' config.mk
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
sed -i 's|^CC|#CC|g' config.mk
}
post_install() {