summaryrefslogtreecommitdiffstats
path: root/graphics/mesagl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mesagl/Makefile')
-rw-r--r--graphics/mesagl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
index 0c1e814..657ef8b 100644
--- a/graphics/mesagl/Makefile
+++ b/graphics/mesagl/Makefile
@@ -51,7 +51,7 @@ MAKE_ENV+= SUB_GL=${SUB_GL} \
INCLUDE_GL=${INCLUDE_GL}
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-configure:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/config.c
OpenPOWER on IntegriCloud