diff --git a/srcpkgs/guile/template b/srcpkgs/guile/template index 9e735585468..60a5be98584 100644 --- a/srcpkgs/guile/template +++ b/srcpkgs/guile/template @@ -15,16 +15,18 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007 subpackages="libguile guile-devel" +if [ "$XBPS_ENDIAN" != "$XBPS_TARGET_ENDIAN" ]; then + broken="opposite-endian host generates broken files" +fi + if [ "$CROSS_BUILD" ]; then # Need host guile to cross compile hostmakedepends+=" guile" fi -pre_configure() { - # magically fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941218 - case "$XBPS_TARGET_MACHINE" in - ppc*) export CFLAGS+=" -Os";; - esac +post_extract() { + # broken files causing crash + rm -rf prebuilt/32-bit-big-endian } libguile_package() {