opnsense-ports/net/mpich2/files/patch-configure
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
499 B
Text

--- configure.orig 2009-11-18 17:40:48.000000000 +0100
+++ configure 2009-11-24 21:26:56.000000000 +0100
@@ -40383,12 +40383,12 @@
return 0;
}
_ACEOF
-for ac_lib in '' thread; do
+for ac_lib in '' -lpthread; do
if test -z "$ac_lib"; then
ac_res="none required"
else
- ac_res=-l$ac_lib
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ ac_res=$ac_lib
+ LIBS="$ac_lib $ac_func_search_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"