diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-05-13 17:27:49 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-05-13 17:27:49 +0000 |
commit | 944df0654c201040b1ec9a3d17e013b4137b92b3 (patch) | |
tree | 160b8ce8ba878ed76f8e68d1f8cef04435fb27fd /graphics | |
parent | 20b2ef033f82672732590d8d7b5936492d091e3c (diff) | |
download | ports-944df0654c201040b1ec9a3d17e013b4137b92b3.tar.gz ports-944df0654c201040b1ec9a3d17e013b4137b92b3.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mesagl/Makefile | 2 | ||||
-rw-r--r-- | graphics/mesagl/files/patch-aa | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile index bdea142072e1..ee1d7f32ff47 100644 --- a/graphics/mesagl/Makefile +++ b/graphics/mesagl/Makefile @@ -58,7 +58,7 @@ MAKE_ENV+= SUB_GL="${SUB_GL}" \ .error You have `USE_MESA' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure post-install: diff --git a/graphics/mesagl/files/patch-aa b/graphics/mesagl/files/patch-aa index 54458f0e86bf..b3a8a6f07baa 100644 --- a/graphics/mesagl/files/patch-aa +++ b/graphics/mesagl/files/patch-aa @@ -32,6 +32,6 @@ $FreeBSD$ echo "${ECHO_T}yes" >&6 - CFLAGS="$CFLAGS -D_REENTRANT -DPTHREADS" + CFLAGS="$CFLAGS -D_THREAD_SAFE -D_REENTRANT -DPTHREADS" - THREAD_LIBS="$THREAD_LIBS -lc_r" + THREAD_LIBS="$THREAD_LIBS -lpthread" else echo "$as_me: failed program was:" >&5 |