Patchwork [meta-oe,2/4] apcupsd: fix configure failure

login
register
mail settings
Submitter Koen Kooi
Date Jan. 10, 2014, 7:07 a.m.
Message ID <1389337631-1844-2-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/64503/
State Accepted, archived
Headers show

Comments

Koen Kooi - Jan. 10, 2014, 7:07 a.m.
configure looks in host paths for X, so disable X. This fixes:

	ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb b/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb
index 5ab92fc..07b8ccb 100644
--- a/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb
+++ b/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb
@@ -11,7 +11,8 @@  inherit autotools
 
 LD = "${CXX}"
 
-EXTRA_OECONF = "--enable-usb \
+EXTRA_OECONF = "--without-x \
+                --enable-usb \
                 --with-distname=${DISTRO}"
 
 do_configure() {