aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12/files
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-02-03 08:19:18 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-02-03 08:19:18 +0000
commitf5ef155d0fa24847084938489379c9c19fab53bf (patch)
tree7906c88d3c574bb5273189ffcf55e3c082ab9cc8 /devel/sdl12/files
parent2bac28dbd6bcd27d2a064fa04d7db30257f9aa58 (diff)
downloadports-f5ef155d0fa24847084938489379c9c19fab53bf.tar.gz
ports-f5ef155d0fa24847084938489379c9c19fab53bf.zip
Notes
Diffstat (limited to 'devel/sdl12/files')
-rw-r--r--devel/sdl12/files/patch-ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
index cc87deaad1ad..64f6440c88b9 100644
--- a/devel/sdl12/files/patch-ac
+++ b/devel/sdl12/files/patch-ac
@@ -19,7 +19,7 @@
;;
*)
- pthread_lib="-lpthread"
-+ pthread_lib="-L""$LOCALBASE""/lib -llthread"
++ pthread_lib="-L""$LOCALBASE""/lib -llthread -llgcc_r"
;;
esac
LIBS="$LIBS $pthread_lib"
@@ -28,7 +28,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 -I""$LOCALBASE""/include/pthread/linuxthreads"
++ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT -D_THREAD_SAFE -I""$LOCALBASE""/include/pthread/linuxthreads"
SDL_LIBS="$SDL_LIBS $pthread_lib"
fi
fi