chroot-findutils: make this build with musl.
This commit is contained in:
parent
f2aca6575f
commit
4f498dad65
1 changed files with 17 additions and 5 deletions
|
@ -1,11 +1,16 @@
|
||||||
# Template file for 'chroot-findutils'
|
# Template file for 'chroot-findutils'
|
||||||
pkgname=chroot-findutils
|
pkgname=chroot-findutils
|
||||||
version=4.4.2
|
version=4.4.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="findutils-${version}"
|
wrksrc="findutils-${version}"
|
||||||
|
bootstrap=yes
|
||||||
|
conflicts="findutils>=0"
|
||||||
|
provides="findutils-${version}_${revision}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-nls gl_cv_func_wcwidth_works=yes
|
configure_args="--disable-nls gl_cv_func_wcwidth_works=yes
|
||||||
gl_cv_header_working_fcntl_h=yes ac_cv_func_fnmatch_gnu=yes"
|
gl_cv_header_working_fcntl_h=yes ac_cv_func_fnmatch_gnu=yes
|
||||||
|
gl_cv_func_gettimeofday_clobber=no ac_cv_func_working_mktime=yes
|
||||||
|
am_cv_func_working_getline=yes"
|
||||||
short_desc="The GNU Find Utilities -- for xbps-src use"
|
short_desc="The GNU Find Utilities -- for xbps-src use"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -13,9 +18,16 @@ homepage="http://www.gnu.org/software/findutils"
|
||||||
distfiles="http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz"
|
||||||
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
||||||
|
|
||||||
bootstrap=yes
|
pre_configure() {
|
||||||
conflicts="findutils>=0"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
provides="findutils-${version}"
|
*-musl)
|
||||||
|
# Special case for musl libc; "fix" issues with gnulib.
|
||||||
|
cp -f ${XBPS_CROSSPFDIR}/musl-gnulibfix .
|
||||||
|
chmod 755 musl-gnulibfix
|
||||||
|
./musl-gnulibfix gnulib/lib
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for f in locate oldfind updatedb; do
|
for f in locate oldfind updatedb; do
|
||||||
|
|
Loading…
Reference in a new issue