diff options
Diffstat (limited to 'devel/sdl/files/patch-ac')
| -rw-r--r-- | devel/sdl/files/patch-ac | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/sdl/files/patch-ac b/devel/sdl/files/patch-ac index 27e4f11aaa02..3806f37749de 100644 --- a/devel/sdl/files/patch-ac +++ b/devel/sdl/files/patch-ac @@ -1,5 +1,8 @@ + +$FreeBSD$ + --- configure.orig Sat Mar 4 04:58:00 2000 -+++ configure Thu Aug 31 18:43:39 2000 ++++ configure Fri Mar 30 17:04:33 2001 @@ -604,9 +604,9 @@ # libtool versioning @@ -26,7 +29,7 @@ case "$target" in *-*-freebsd*) - pthread_lib="-lc_r" -+ pthread_lib="-pthread" ++ pthread_lib="${PTHREAD_LIBS}" ;; *-*-openbsd*) pthread_lib="-lc_r" @@ -35,7 +38,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" ++ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT ${PTHREAD_CFLAGS}" SDL_LIBS="$SDL_LIBS $pthread_lib" fi fi |
