freebsd-ports/devel/swarm/files/patch-ac
Kris Kennaway 835a7dd6a6 Don't treat warnings as errors: gcc 3.2 finds a lot more wrong with
this code.  It is still broken on 5.0.
2002-10-20 09:35:59 +00:00

57 lines
2.3 KiB
Text

--- configure.orig Sat Mar 25 13:00:14 2000
+++ configure Sun Oct 20 02:30:01 2002
@@ -1306,7 +1306,7 @@
test -n "$OBJC" || OBJC="$CC"
test -n "$OBJCFLAGS" || OBJCFLAGS="$CFLAGS"
-OBJCFLAGS="$OBJCFLAGS -Wall -Wno-import -Wno-protocol -Werror"
+OBJCFLAGS="$OBJCFLAGS -Wall -Wno-import -Wno-protocol"
# Check whether --enable-shared or --disable-shared was given.
@@ -1691,8 +1691,8 @@
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig --no-reexec \
+$libtool_flags --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $host \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
# Reload cache, that may have been modified by ltconfig
@@ -1706,7 +1706,7 @@
# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="/usr/local/share/libtool/ltconfig /usr/local/share/libtool/ltmain.sh"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -4108,7 +4108,7 @@
echo $ac_n "checking how to avoid implicit int return warning""... $ac_c" 1>&6
echo "configure:4110: checking how to avoid implicit int return warning" >&5
CFLAGS_NOWARN_IMPLICIT_INT=-Wno-implicit-int
-CFLAGS="-Wall -Werror $CFLAGS_NOWARN_IMPLICIT_INT $CFLAGS"
+CFLAGS="-Wall $CFLAGS_NOWARN_IMPLICIT_INT $CFLAGS"
cat > conftest.$ac_ext <<EOF
#line 4114 "configure"
#include "confdefs.h"
@@ -4133,7 +4133,7 @@
echo $ac_n "checking how to avoid unknown pragma warning""... $ac_c" 1>&6
echo "configure:4135: checking how to avoid unknown pragma warning" >&5
CFLAGS_NOWARN_UNKNOWN_PRAGMAS=-Wno-unknown-pragmas
-CFLAGS="-Wall -Werror $CFLAGS_NOWARN_UNKNOWN_PRAGMAS"
+CFLAGS="-Wall $CFLAGS_NOWARN_UNKNOWN_PRAGMAS"
cat > conftest.$ac_ext <<EOF
#line 4139 "configure"
#include "confdefs.h"
@@ -5049,6 +5049,7 @@
JAVAINCLUDES="$JAVAINCLUDES -I$jdkincludedir/freebsd"
threads=green
proc=i386
+ JAVACMD="\${jdkdir}/bin/java"
elif test -f $expand_jdkincludedir/irix/jni_md.h; then
JAVAINCLUDES="$JAVAINCLUDES -I$jdkincludedir/irix"
threads=green