freebsd-ports/lang/xsb/files/patch-ag
Pav Lucistnik 13ba5647d6 - Update to 2.6
PR:		ports/62205
Submitted by:	Christopher Rued <c.rued@xsb.com> (maintainer)
2004-02-01 17:50:56 +00:00

20 lines
507 B
Text

--- config.guess.orig Sat Jan 31 01:56:33 2004
+++ config.guess Sat Jan 31 02:03:04 2004
@@ -79,7 +79,7 @@
fi
-dummy=dummy-$$
+dummy=/tmp/dummy-$$
trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
# Use $HOST_CC if defined. $CC may point to a cross-compiler
@@ -92,7 +92,7 @@
else
echo 'int dummy(){}' >$dummy.c
for c in cc c89 gcc; do
- ($c $dummy.c -c) >/dev/null 2>&1
+ ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1
if test $? = 0; then
CC_FOR_BUILD="$c"; break
fi