guile: unbork ppc
This commit is contained in:
parent
335a5b37de
commit
720f2c1c52
1 changed files with 7 additions and 5 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue