aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-07-21 15:21:00 +0200
committerEric BĂ©nard <eric@eukrea.com>2013-08-22 09:51:26 +0200
commita937a8b492bc611e8e9bb27a25371d8b76a2e601 (patch)
tree7705e4b7ead0f77187e9b49945f2c9b4147b8679
parente0f755a53907ead5cd4e8cef5e810928bb9ccfac (diff)
downloadmeta-openembedded-a937a8b492bc611e8e9bb27a25371d8b76a2e601.tar.gz
meta-openembedded-a937a8b492bc611e8e9bb27a25371d8b76a2e601.tar.bz2
meta-openembedded-a937a8b492bc611e8e9bb27a25371d8b76a2e601.zip
joe: add PACKAGECONFIG for joe
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic * ncurses-libtinfo dependency is added only when ncurses is built before joe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/joe/joe_3.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/joe/joe_3.1.bb b/meta-oe/recipes-support/joe/joe_3.1.bb
index 6c9190ffd..7c5922de2 100644
--- a/meta-oe/recipes-support/joe/joe_3.1.bb
+++ b/meta-oe/recipes-support/joe/joe_3.1.bb
@@ -3,10 +3,12 @@ DESCRIPTION = "Console text editor with good functionality, good choice for vi-h
HOMEPAGE = "http://joe-editor.sourceforge.net/"
LICENSE = "GPLv1"
LIC_FILES_CHKSUM = "file://COPYING;md5=da10ed7cf8038981c580e11c1d3e8fb6"
-RDEPENDS_${PN} = "ncurses-terminfo"
SRC_URI = "${SOURCEFORGE_MIRROR}/joe-editor/joe-${PV}.tar.gz"
+PACKAGECONFIG ??= "curses"
+PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses,ncurses-terminfo"
+
inherit autotools
SRC_URI[md5sum] = "2a6ef018870fca9b7df85401994fb0e0"