skalibs: fix cross.

Closes: #7525 [via git-merge-pr]
This commit is contained in:
Christopher Brannon 2017-08-29 05:10:53 -07:00 committed by Michael Gehring
parent a6827e7028
commit d680fba5eb

View File

@ -14,11 +14,10 @@ distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=3572cb8c7d2ae9d16da5a0f3d23b48e013e0c957f1329d100f04dd5accb054c3
CFLAGS="-D_DEFAULT_SOURCE"
nocross="needs skaware-void-sysdeps update"
if [ "$CROSS_BUILD" ]; then
distfiles+=" https://github.com/CMB/${_sysdepspkg}/archive/${version}.tar.gz"
checksum+=" a0c132972d2342d4ad2e6fde218173e7340d5c1d143b48d5a6c0c238e737ca1e"
checksum+=" babcf24b8b5afe0719718eccf17ac57a13a7cf5a9191331bff22213b716f2dca"
configure_args+=" --with-sysdeps=../${_sysdepspkg}-${version}/${XBPS_CROSS_TRIPLET}"
fi