From patchwork Sun Nov 25 15:52:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 201552 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 8856D2C008A for ; Mon, 26 Nov 2012 02:54:06 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0095C20225; Sun, 25 Nov 2012 15:54:03 +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 UImrut9zOr9f; Sun, 25 Nov 2012 15:53:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E83BF2020C; Sun, 25 Nov 2012 15:53:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 20F0C8F783 for ; Sun, 25 Nov 2012 15:54:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8396D8A38B for ; Sun, 25 Nov 2012 15:53:57 +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 N2Wizz2DHMqk for ; Sun, 25 Nov 2012 15:53:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id A60DC8A3CD for ; Sun, 25 Nov 2012 15:53:52 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn14so2098303wib.10 for ; Sun, 25 Nov 2012 07:53:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=Kl5r0Jbim6UnGrI9RhG0Jf5IR//2mB7U9rYNdCAlIG0=; b=te5idnM1BHOEZCpQ14+up3guCWaEtVZyyWqaXBPdp/l9QG5Wik5Vo7tm9EffRaIyXu hLXaEtZz/gdsYBmAEF7tAsxsJ+byIwryW2hv1GkNq646kXHtVYsaClWRIgfecC1EcW1l B9eQlPn3skL+2mrfj35sbpgeKa7fbKNaSIMB0pbiNt47rpyDa3n3e43p0BPYlD8FBH1i 5Vy41oi6WH+gSgsYKiKwc8TyftEnK5QtaPhvJrpjssSuHXc2AQ+9ZFxjkiL6EBVOUM6S dwYr1J4rPYw1FdNGsAs7NOJTdqxVPnyM+YU2F/Cv9cjMOJ+OHkuACZRV3nYsDqVLLiIv eQyQ== Received: by 10.180.78.1 with SMTP id x1mr12976612wiw.17.1353858830851; Sun, 25 Nov 2012 07:53:50 -0800 (PST) Received: from localhost.localdomain (host-84-13-96-11.opaltelecom.net. [84.13.96.11]) by mx.google.com with ESMTPS id i6sm17335275wix.5.2012.11.25.07.53.48 (version=SSLv3 cipher=OTHER); Sun, 25 Nov 2012 07:53:49 -0800 (PST) From: spdawson@gmail.com To: buildroot@busybox.net Date: Sun, 25 Nov 2012 15:52:43 +0000 Message-Id: <1353858764-28962-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] lcdproc: fix autobuild errors 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 From: Simon Dawson The autobuilders are falling over building lcdproc, with failures like the following. http://autobuild.buildroot.net/results/622b7da10be751c725ba25eb40102269790b4b03/build-end.log As Thomas Petazzoni has pointed out, the compile command lines incorrectly contain host header and library search paths, such as the following. -I/home/peko/scratch/host/usr/include/freetype2 -L/home/peko/scratch/host/usr/lib -lfreetype This patch changes the lcdproc package to pass the freetype installation prefixes on the configure command line. Signed-off-by: Simon Dawson --- package/lcdproc/lcdproc.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk index 2a80289..fe88f46 100644 --- a/package/lcdproc/lcdproc.mk +++ b/package/lcdproc/lcdproc.mk @@ -10,7 +10,9 @@ LCDPROC_LICENSE = GPLv2+ LCDPROC_LICENSE_FILES = COPYING LCDPROC_MAKE = $(MAKE1) -LCDPROC_CONF_OPT = --enable-drivers=$(BR2_PACKAGE_LCDPROC_DRIVERS) +LCDPROC_CONF_OPT = --enable-drivers=$(BR2_PACKAGE_LCDPROC_DRIVERS) \ + --with-ft-prefix="$(STAGING_DIR)/usr" \ + --with-ft-exec-prefix="$(STAGING_DIR)/usr" ifeq ($(BR2_PACKAGE_LCDPROC_MENUS),y) LCDPROC_CONF_OPT += --enable-lcdproc-menus