diff options
author | tg <tg@FreeBSD.org> | 2000-04-20 09:24:28 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2000-04-20 09:24:28 +0000 |
commit | bb3d5d57f23c6c19a1d5658ccd56f5b05ec8c5b9 (patch) | |
tree | 588211e16c2d90f9c92683fa29f85b815f2fa021 /devel/sdl12/files | |
parent | 2a2526a723e2ee86f99aa8715cb1ec9dda0a8fa9 (diff) | |
download | FreeBSD-ports-bb3d5d57f23c6c19a1d5658ccd56f5b05ec8c5b9.zip FreeBSD-ports-bb3d5d57f23c6c19a1d5658ccd56f5b05ec8c5b9.tar.gz |
Use our libc_r instead of linuxthreads.
Reviewed by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'devel/sdl12/files')
-rw-r--r-- | devel/sdl12/files/patch-ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac index 83ce505..8585592 100644 --- a/devel/sdl12/files/patch-ac +++ b/devel/sdl12/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 |