summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc9
-rw-r--r--recipes/util-linux-ng/util-linux-ng_2.17.bb4
2 files changed, 8 insertions, 5 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index fa367d9a70..29e534c148 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -2,11 +2,11 @@ DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux sys
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} udev zlib ncurses virtual/libintl"
-DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native"
+DEPENDS_virtclass-native = "zlib-native lzo-native gettext-native"
inherit autotools gettext
-INC_PR = "r34"
+INC_PR = "r35"
# allows for a release candidate
RC ?= ""
@@ -65,11 +65,14 @@ RDEPENDS_${PN}-reset = "ncurses-tools"
RRECOMMENDS_${PN}_virtclass-native = ""
RDEPENDS_${PN}_virtclass-native = ""
+NATIVECONF = ""
+NATIVECONF_virtclass-native = "--without-ncurses"
+
EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown \
--enable-kill --enable-last --enable-mesg --enable-raw --enable-login-utils \
--enable-arch --enable-init --enable-partx --enable-schedutils \
--with-fsprobe=builtin --enable-libuuid --enable-libblkid \
---enable-fsck --enable-reset"
+--enable-fsck --enable-reset ${NATIVECONF}"
LDFLAGS_append_libc-uclibc = "${@['',' -lintl'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"
LDFLAGS_virtclass-native = "${BUILD_LDFLAGS}"
diff --git a/recipes/util-linux-ng/util-linux-ng_2.17.bb b/recipes/util-linux-ng/util-linux-ng_2.17.bb
index 8b4b1c9940..dfcc15c213 100644
--- a/recipes/util-linux-ng/util-linux-ng_2.17.bb
+++ b/recipes/util-linux-ng/util-linux-ng_2.17.bb
@@ -1,6 +1,6 @@
require util-linux-ng.inc
-PR = "${INC_PR}.3"
+PR = "${INC_PR}"
SRC_URI += "file://uclibc-compile.patch \
file://util-linux-ng-replace-siginterrupt.patch \
@@ -11,7 +11,7 @@ SRC_URI += "file://uclibc-compile.patch \
# fallocate is glibc 2.10, fallocate64 is glibc 2.11
# we need to disable it for older versions
EXTRA_OECONF += "ac_cv_func_fallocate=no"
-EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group"
+EXTRA_OECONF_append_virtclass-native += "--disable-fallocate --disable-use-tty-group"
SRC_URI[archive.md5sum] = "11cc8a0138019e7060dd275d47dbc096"
SRC_URI[archive.sha256sum] = "8720f7233394b68d17095707c195ebb014943c1075a18fb5fd21ec108f012be3"