aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-08-06 05:40:11 +0800
committerjkim <jkim@FreeBSD.org>2015-08-06 05:40:11 +0800
commitc7e22107ab0feb00440fab3054784bc3933f4b67 (patch)
tree638865903dd7daca42729b8253807303802287fc /graphics
parent2e2b738686c1d628592beb957cd169409d490fde (diff)
downloadfreebsd-ports-gnome-c7e22107ab0feb00440fab3054784bc3933f4b67.tar.gz
freebsd-ports-gnome-c7e22107ab0feb00440fab3054784bc3933f4b67.tar.zst
freebsd-ports-gnome-c7e22107ab0feb00440fab3054784bc3933f4b67.zip
Fix endianness detection on head with strings(1) from ELF toolchain.
Approved by: gnome (maintainer, timeout > 6 months) MFH: 2015Q3
Diffstat (limited to 'graphics')
-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|' \