guile: unbork ppc
This commit is contained in:
@@ -15,16 +15,18 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|||||||
checksum=44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007
|
checksum=44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007
|
||||||
subpackages="libguile guile-devel"
|
subpackages="libguile guile-devel"
|
||||||
|
|
||||||
|
if [ "$XBPS_ENDIAN" != "$XBPS_TARGET_ENDIAN" ]; then
|
||||||
|
broken="opposite-endian host generates broken files"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Need host guile to cross compile
|
# Need host guile to cross compile
|
||||||
hostmakedepends+=" guile"
|
hostmakedepends+=" guile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
post_extract() {
|
||||||
# magically fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941218
|
# broken files causing crash
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
rm -rf prebuilt/32-bit-big-endian
|
||||||
ppc*) export CFLAGS+=" -Os";;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
libguile_package() {
|
libguile_package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user