From a5f75f312f8b3b1a21aa48e51210925cd72a43fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 25 Sep 2020 19:35:32 +0200 Subject: [PATCH] TSC: host and target wordsize must be same for cross --- srcpkgs/TSC/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/TSC/template b/srcpkgs/TSC/template index 661dd30fb30..d4d636dabd5 100644 --- a/srcpkgs/TSC/template +++ b/srcpkgs/TSC/template @@ -20,6 +20,10 @@ distfiles="https://ftp.secretchronicles.org/releases/${pkgname}-${version}.tar.g checksum=6a16765b4951e3d5d1ea2b84e6da8f67b0271460f0c570b53ccdab80d7396261 replaces="TSC-data" +if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then + broken="The host ($XBPS_WORDSIZE) and target ($XBPS_TARGET_WORDSIZE) word sizes need to be the same for cross building." +fi + post_install() { vinstall extras/tsc.desktop 644 usr/share/applications }