wld-git: i686-build fix

This commit is contained in:
Enno Boland 2014-08-09 11:36:05 +02:00
parent 8b62e6bd36
commit 64b08f15eb

View file

@ -5,12 +5,12 @@ _gitshort="${_githash:0:7}"
pkgname=wld-git
version=20140809
revision=1
revision=2
homepage="https://github.com/michaelforney/wld"
distfiles="https://github.com/michaelforney/wld/archive/${_githash}.tar.gz"
short_desc="Primitive drawing library targeted at Wayland"
maintainer="Enno Boland <eb@s01.de>"
hostmakedepends="pkg-config"
hostmakedepends="pkg-config wayland-devel"
makedepends="pixman-devel fontconfig-devel libdrm-devel wayland-devel"
license="MIT"
checksum=020ec074fdee06c436a354ff13c2ecdd206ae33f095d8f711c9984a0faabd5e2
@ -18,8 +18,10 @@ wrksrc=wld-${_githash}
do_build() {
sed -i '/^ENABLE_STATIC /d' config.mk
sed -i '/^CC /d' config.mk
sed -i '/^CFLAGS /d' config.mk
make CC=$CC INCS="-I."
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {