openbsd-ports/lang/onyx/patches/patch-configure
jasper 5058e93845 import onyx 5.1.2
Onyx is a powerful stack-based, multi-threaded, interpreted, general
purpose programming language similar to PostScript.

ok aja@
2011-03-07 19:26:28 +00:00

30 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2011/03/07 19:26:28 jasper Exp $
--- configure.orig Thu Mar 17 08:55:12 2005
+++ configure Thu Mar 3 18:58:05 2011
@@ -3786,13 +3786,13 @@ fi
done
- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3851,7 +3851,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
if test $ac_cv_lib_pthread_pthread_create = yes; then
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS -pthread"
else
echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6