aboutsummaryrefslogtreecommitdiff
path: root/graphics/cairo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cairo/Makefile')
-rw-r--r--graphics/cairo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index a10bb13d9a46..6a5d2c4bb6b7 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -65,7 +65,7 @@ post-patch:
-e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \
-e '/LIBS/s|-ldl||' \
${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|-lcairo|-lcairo ${PTHREAD_LIBS}|' \
+ @${REINPLACE_CMD} -e 's|-lcairo|-lcairo -lpthread|' \
${WRKSRC}/src/*.pc.in
@${REINPLACE_CMD} -e '/@CAIRO_HAS_PNG_FUNCTIONS_TRUE@.*=/d' \
${WRKSRC}/Makefile.in