[Buildroot] [PATCHv2] package/efl/libevas: remove unsafe paths

Vicente Olivert Riera Vincent.Riera at imgtec.com
Tue Sep 8 15:38:04 UTC 2015


Fixes:

  http://autobuild.buildroot.net/results/7f2/7f2baef97c4ff3b9111becc1e0b79780c6e9db6f/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
Changes v1 -> v2:
  - Use % instead of # in the sed instruction (Suggested Arnout)
  - Remove the useless host-post-patch-hook (Suggested Arnout)
 
 package/efl/libevas/libevas.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 8113162..716f1a8 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -17,6 +17,12 @@ LIBEVAS_DEPENDENCIES = host-pkgconf zlib libeina freetype
 HOST_LIBEVAS_DEPENDENCIES = \
 	host-pkgconf host-zlib host-libeina \
 	host-freetype host-libpng host-libjpeg
+
+define LIBEVAS_REMOVE_UNSAFE_PATHS
+$(SED) 's%-I/usr/include%%g' $(@D)/configure
+endef
+LIBEVAS_POST_PATCH_HOOKS += LIBEVAS_REMOVE_UNSAFE_PATHS
+
 HOST_LIBEVAS_CONF_OPTS += \
 	--enable-image-loader-png \
 	--enable-image-loader-jpeg \
-- 
1.7.1



More information about the buildroot mailing list