watchman: fix musl builds.

This commit is contained in:
Juan RP 2015-06-23 08:51:05 +02:00
parent 83c18351ab
commit 386997a4ac

View file

@ -1,7 +1,7 @@
# Template file for 'watchman'
pkgname=watchman
version=3.3.0
revision=1
revision=2
build_pie=yes
build_style=gnu-configure
hostmakedepends="automake libtool"
@ -14,5 +14,6 @@ distfiles="https://github.com/facebook/watchman/archive/v${version}.tar.gz"
checksum=c8bd6b496f5d86b13c91368bf3b01346282f565c8af4f8e2f7bb6b74a48c4793
pre_configure() {
sed -i 's,sys/poll.h,poll.h,g' *.[ch]
NOCONFIGURE=1 ./autogen.sh
}