srcpkgs: use "nocross=yes" where applicable.

This commit is contained in:
Juan RP 2014-08-21 12:14:29 +02:00
parent 404dc21a05
commit 8854ff0a60
11 changed files with 12 additions and 42 deletions

View File

@ -9,8 +9,8 @@ homepage="http://www.chromium.org/"
license="BSD"
lib32disabled=yes
# XXX cannot be cross compiled right now, disabled for now.
only_for_archs="i686 x86_64"
nocross=yes
distfiles="https://commondatastorage.googleapis.com/${pkgname}-browser-official/${pkgname}-${version}.tar.xz"
checksum=0631d7442991f0b4b942477c58a9294e9e3eb21ffd3c8626e4ab663b8345c316

View File

@ -29,6 +29,7 @@ checksum="
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
@ -36,10 +37,6 @@ depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
only_for_archs="i686 x86_64"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -29,6 +29,7 @@ checksum="
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
@ -36,10 +37,6 @@ depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
only_for_archs="i686 x86_64"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -29,6 +29,7 @@ checksum="
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
@ -36,10 +37,6 @@ depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
only_for_archs="i686 x86_64"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -29,16 +29,13 @@ checksum="
dac94112b9a22d2657cd3f36ca0d62ee1eb10707a22bfc97d5746147ef92852b"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="libfl-devel zlib-devel gmp-devel mpfr-devel libmpc-devel"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
depends="${pkgname}-libc-${version}_${revision}"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -28,6 +28,7 @@ checksum="
dac94112b9a22d2657cd3f36ca0d62ee1eb10707a22bfc97d5746147ef92852b"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="libfl-devel zlib-devel gmp-devel mpfr-devel libmpc-devel"
@ -35,10 +36,6 @@ nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
depends="${pkgname}-libc-${version}_${revision}"
only_for_archs="i686 x86_64 x86_64-musl"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -28,6 +28,7 @@ checksum="
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
lib32disabled=yes
nocross=yes
only_for_archs="x86_64"
create_wrksrc=yes
hostmakedepends="perl flex"
@ -35,10 +36,6 @@ makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -29,16 +29,13 @@ checksum="
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -29,16 +29,13 @@ checksum="
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel"
depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -27,6 +27,7 @@ checksum="
dac94112b9a22d2657cd3f36ca0d62ee1eb10707a22bfc97d5746147ef92852b"
lib32disabled=yes
nocross=yes
create_wrksrc=yes
hostmakedepends="perl flex"
makedepends="libfl-devel zlib-devel gmp-devel mpfr-devel libmpc-devel"
@ -34,10 +35,6 @@ nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
depends="${pkgname}-libc-${version}_${revision}"
only_for_archs="i686 i686-musl x86_64"
if [ "$CROSS_BUILD" ]; then
msg_error "${pkgname}-${version}: cannot be cross compiled.\n"
fi
_apply_patch() {
local pname="$(basename $1)"

View File

@ -19,10 +19,7 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; the
depends+=" x86_energy_perf_policy>=${version}"
fi
if [ "$CROSS_BUILD" ]; then
msg_red "${pkgname}-${version}: this package cannot be cross compiled right now.\n"
exit 0
fi
nocross=yes
do_build() {
cd ${wrksrc}/tools/perf