From patchwork Thu Sep 11 21:50:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 388400 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id DF02914011B for ; Fri, 12 Sep 2014 07:50:20 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 183B991CFE; Thu, 11 Sep 2014 21:50:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fn-WAd-YtxTO; Thu, 11 Sep 2014 21:50:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3188591D0C; Thu, 11 Sep 2014 21:50:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 884C51C1EEB for ; Thu, 11 Sep 2014 21:50:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 82C373334B for ; Thu, 11 Sep 2014 21:50:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PuhReM15NKN9 for ; Thu, 11 Sep 2014 21:50:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by silver.osuosl.org (Postfix) with ESMTP id 9F5452F72E for ; Thu, 11 Sep 2014 21:50:17 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id C205A7AE; Thu, 11 Sep 2014 23:50:19 +0200 (CEST) Received: from localhost (AToulouse-651-1-222-246.w86-199.abo.wanadoo.fr [86.199.197.246]) by mail.free-electrons.com (Postfix) with ESMTPSA id 7AEC5756; Thu, 11 Sep 2014 23:50:19 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 11 Sep 2014 23:50:15 +0200 Message-Id: <1410472215-19818-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.0.0 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] libsvg-cairo: explicitly disable X support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Our libsvg-cairo package doesn't have any dependency on X, and the source code doesn't seem to be using X. However, the configure script checks for X headers and libraries. If they are found on the host, /usr/lib and /usr/include get added to the library/header paths causing weird build failures. This commit should fix this problem by explicitly disabling the X support. Should fix: http://autobuild.buildroot.org/results/d0f/d0fc233bb97c2ea18344746a5b7c63c8de65330a/ http://autobuild.buildroot.org/results/0b3/0b3fb2ee9916aa265df5b6e4f04f6dfa25d1fc84/ Signed-off-by: Thomas Petazzoni --- package/libsvg-cairo/libsvg-cairo.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libsvg-cairo/libsvg-cairo.mk b/package/libsvg-cairo/libsvg-cairo.mk index 93b8f76..fd1dbee 100644 --- a/package/libsvg-cairo/libsvg-cairo.mk +++ b/package/libsvg-cairo/libsvg-cairo.mk @@ -11,4 +11,6 @@ LIBSVG_CAIRO_INSTALL_STAGING = YES LIBSVG_CAIRO_LICENSE = LGPLv2.1+ LIBSVG_CAIRO_LICENSE_FILES = COPYING +LIBSVG_CAIRO_CONF_OPT = --without-x + $(eval $(autotools-package))