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