freebsd-ports/audio/kmpg/files/patch-ai
Jeremy Lea e362120dfe Correct usage of libc_r.
No response from:	maintainer
2000-01-28 10:42:47 +00:00

14 lines
354 B
Plaintext

--- configure.orig Sun Feb 7 04:05:54 1999
+++ configure Sat Sep 25 23:31:52 1999
@@ -4004,7 +4004,9 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- LIBPTHREAD="-lc_r"
+ LIBPTHREAD="-pthread"
+ CFLAGS="$CFLAGS -D_THREAD_SAFE"
+ CXXFLAGS+="$CFLAGS -D_THREAD_SAFE"
else
echo "$ac_t""no" 1>&6
fi