procps-ng: fix cross build.

This commit is contained in:
Juan RP 2013-03-28 05:40:47 +01:00
parent 3a81090be8
commit 56009aedb4

View file

@ -18,11 +18,6 @@ noextract=yes
hostmakedepends="libtool automake gettext-devel pkg-config"
makedepends="ncurses-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
configure_args="${configure_args} ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes"
fi
do_fetch() {
git clone git://gitorious.org/procps/procps.git \
-b v${version} ${pkgname}-${version}
@ -33,7 +28,10 @@ do_configure() {
./autogen.sh
./configure ${CONFIGURE_SHARED_ARGS} --exec-prefix=/ \
--prefix=/usr --libdir=/usr/lib --disable-static
--prefix=/usr --libdir=/usr/lib --disable-static \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_strtod=yes ac_cv_func_mmap_fixed_mapped=yes
}
do_build() {