psmisc: override malloc/realloc/memcmp detection in cross builds.

This commit is contained in:
Juan RP 2013-02-11 13:48:25 +01:00
parent c56dcd60d8
commit 30d11a12c1
1 changed files with 6 additions and 0 deletions

View File

@ -11,3 +11,9 @@ homepage="http://psmisc.sourceforge.net/index.html"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=e112ccadd4694c98f5ea4a02cd6944fdc5a2a1985f20e2b3f74f4dbca83a2a31
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
configure_args="ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_memcmp_working=yes"
fi