diff options
author | jkim <jkim@FreeBSD.org> | 2015-08-06 05:40:11 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2015-08-06 05:40:11 +0800 |
commit | c7e22107ab0feb00440fab3054784bc3933f4b67 (patch) | |
tree | 638865903dd7daca42729b8253807303802287fc /graphics | |
parent | 2e2b738686c1d628592beb957cd169409d490fde (diff) | |
download | freebsd-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/Makefile | 5 |
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|' \ |