aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/cairo/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index ef7e04cd60ff..b4bb90e0d8aa 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -66,8 +66,9 @@ BROKEN= OpenGL option needs X11 support
.endif
post-patch:
- @${REINPLACE_CMD} -e '/test/s/==/=/g' \
- -e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \
+ @${REINPLACE_CMD} -e '/strings/s/ - / -a /' \
+ -e '/test/s/==/=/g' \
+ -e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \
-e '/LIBS/s|-ldl||' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-lcairo|-lcairo -lpthread|' \