lcdproc: fix autobuild errors
authorSimon Dawson <spdawson@gmail.com>
Sun, 25 Nov 2012 05:52:43 +0000 (05:52 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Nov 2012 18:16:23 +0000 (10:16 -0800)
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 <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/lcdproc/lcdproc.mk

index 2a80289e39396fe423e82b2a3aaebd3b155280e1..fe88f46f0d574e3b00f284af5bd624e0e07922e9 100644 (file)
@@ -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