termux-packages/packages/asymptote/configure.patch

30 lines
899 B
Diff

--- a/configure
+++ b/configure
@@ -5911,7 +5911,7 @@
then :
printf %s "(cached) " >&6
else $as_nop
- test "$cross_compiling" = yes &&
+ false &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "$GCFILE.tar.gz"; then
eval "$as_ac_File=yes"
@@ -5947,7 +5947,7 @@
case _$ac_cv_use_gc in
_|_system|_*[\\/]*)
if test "x$ac_cv_use_gc" = "xsystem" ; then
- INCL="-I. -I$prefix/include/gc -I/usr/include/gc"
+ INCL="-I. -I$prefix/include/gc"
LIBS=$LIBS"-L$prefix/lib "
else
INCL="-I$ac_cv_use_gc/include/gc"
@@ -10239,7 +10239,7 @@
fi
-if test "x$GCDIR" != "x" ; then
+if false; then
as_ac_File=`printf "%s\n" "ac_cv_file_$GCDIR.tar.gz" | $as_tr_sh`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $GCDIR.tar.gz" >&5
printf %s "checking for $GCDIR.tar.gz... " >&6; }