From ab5c49f7ecbe4f896d943b5b3592c8be84deb6c1 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Thu, 20 Apr 2000 09:24:28 +0000 Subject: Use our libc_r instead of linuxthreads. Reviewed by: Maxim Sobolev --- devel/sdl-devel/files/patch-ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devel/sdl-devel/files/patch-ac') diff --git a/devel/sdl-devel/files/patch-ac b/devel/sdl-devel/files/patch-ac index 83ce50513875..8585592c74a6 100644 --- a/devel/sdl-devel/files/patch-ac +++ b/devel/sdl-devel/files/patch-ac @@ -17,7 +17,7 @@ case "$target" in *-*-freebsd*) - pthread_lib="-lc_r" -+ pthread_lib="-L""$LOCALBASE""/lib -llthread -llgcc_r" ++ pthread_lib="-pthread" ;; *-*-openbsd*) pthread_lib="-lc_r" @@ -26,7 +26,7 @@ if test x$use_pthreads = xyes; then CFLAGS="$CFLAGS -D_REENTRANT -DSDL_USE_PTHREADS" - SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT" -+ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT -D_THREAD_SAFE -I""$LOCALBASE""/include/pthread/linuxthreads" ++ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT -D_THREAD_SAFE" SDL_LIBS="$SDL_LIBS $pthread_lib" fi fi -- cgit v1.2.3