freebsd-ports/www/galeon/files/patch-configure
Joe Marcus Clarke 9981507a1f Remove any chance of linking galeon with -pthread. Instead, make sure
${PTHREAD_LIBS} is used.

Submitted by:	sf
2003-10-16 18:47:54 +00:00

21 lines
572 B
Text

--- configure.orig Fri Oct 17 01:15:31 2003
+++ configure Fri Oct 17 01:16:29 2003
@@ -7968,6 +7968,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'
@@ -11890,8 +11891,8 @@
;;
FreeBSD)
USE_PTHREADS=1
- _PTHREAD_CFLAGS="-pthread -D_THREAD_SAFE"
- _PTHREAD_LDFLAGS="";;
+ _PTHREAD_CFLAGS="%%PTHREAD_CFLAGS%%"
+ _PTHREAD_LDFLAGS="%%PTHREAD_LIBS%%";;
*)
USE_PTHREADS=1
_PTHREAD_LDFLAGS="-lc_r";;