freebsd-ports/devel/glib20/files/patch-ae

34 lines
979 B
Text
Raw Normal View History

$FreeBSD$
2002-04-26 08:31:57 +02:00
--- configure.orig Fri Mar 29 01:26:14 2002
+++ configure Fri Apr 26 09:01:50 2002
@@ -10597,6 +10597,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -17619,8 +17620,8 @@
rm -f conftest.$ac_objext conftest.$ac_ext
2000-11-20 19:01:06 +01:00
fi
;;
- *-freebsd2.2*)
2001-08-01 19:50:36 +02:00
- G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
2000-11-20 19:01:06 +01:00
+ *-freebsd*)
2001-08-01 19:50:36 +02:00
+ G_THREAD_CFLAGS="$G_THREAD_CFLAGS $PTHREAD_CFLAGS"
2000-11-20 19:01:06 +01:00
# FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
2001-08-01 19:50:36 +02:00
# -mthreads flag.
2002-04-26 08:31:57 +02:00
@@ -17702,7 +17703,7 @@
*-*-openbsd* | *-*-freebsd*)
# FreeBSD and OpenBSD want us to use the -pthread flag
# instead of linking to -lc_r and libtool enforces that.
- G_THREAD_LIBS="-pthread"
+ G_THREAD_LIBS="$PTHREAD_LIBS"
2001-08-01 19:50:36 +02:00
;;
*)
for thread_lib in "" pthread pthread32 pthreads thread dce; do