diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-08-12 00:12:53 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-08-13 22:32:07 -0700 |
| commit | 6bcbc0364b9d099c4589b04941b9c446d25fb57f (patch) | |
| tree | 1131cc3f1e2b3c0be50b79f1a491b2fbc2f46790 | |
| parent | d9f027866664d7e70d6491b3131e6245e3daff90 (diff) | |
| download | meta-openembedded-6bcbc0364b9d099c4589b04941b9c446d25fb57f.tar.gz | |
dialog: Turn X11 support into a packageconfig option
Enable it only if x11 is in distro features
Ensure patch to X includes/libs is pointing into sysroot otherwise it
starts to poke at build systems includes/libs dirs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb b/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb index 5ac9b89020..4c3177c05f 100644 --- a/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb +++ b/meta-oe/recipes-extended/dialog/dialog_1.3-20200327.bb | |||
| @@ -18,6 +18,10 @@ S = "${WORKDIR}/dialog-${PV}" | |||
| 18 | 18 | ||
| 19 | inherit autotools-brokensep pkgconfig | 19 | inherit autotools-brokensep pkgconfig |
| 20 | 20 | ||
| 21 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | ||
| 22 | |||
| 23 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" | ||
| 24 | |||
| 21 | EXTRA_OECONF = "--with-ncurses \ | 25 | EXTRA_OECONF = "--with-ncurses \ |
| 22 | --disable-rpath-hack" | 26 | --disable-rpath-hack" |
| 23 | 27 | ||
