summaryrefslogtreecommitdiff
path: root/recipes/udev/attr_2.4.44.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/attr_2.4.44.bb')
-rw-r--r--recipes/udev/attr_2.4.44.bb11
1 files changed, 8 insertions, 3 deletions
diff --git a/recipes/udev/attr_2.4.44.bb b/recipes/udev/attr_2.4.44.bb
index c2054d18a8..ffc0cc3c56 100644
--- a/recipes/udev/attr_2.4.44.bb
+++ b/recipes/udev/attr_2.4.44.bb
@@ -1,16 +1,17 @@
DESCRIPTION = "Commands for Manipulating Filesystem Extended Attributes"
LICENSE = "GPLv2"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://mirror.its.uidaho.edu/pub/savannah/attr/attr-${PV}.src.tar.gz"
inherit gettext autotools lib_package
-
EXTRA_OECONF = " --enable-gettext=yes \
ac_cv_path_XGETTEXT=${STAGING_BINDIR_NATIVE}/xgettext \
ac_cv_path_MSGFMT=${STAGING_BINDIR_NATIVE}/msgfmt \
- ac_cv_path_MSGMERGE=${STAGING_BINDIR_NATIVE}/msgmerge "
+ ac_cv_path_MSGMERGE=${STAGING_BINDIR_NATIVE}/msgmerge \
+ PLATFORM="linux" \
+ "
LDFLAGS_append_libc-uclibc += " -lintl"
@@ -21,6 +22,10 @@ do_configure_append() {
echo "#define _(str) str" >> ${S}/include/config.h
}
+do_configure_prepend_libc-uclibc() {
+ eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "s/-D_FILE_OFFSET_BITS=64//" ${S}/include/builddefs.in', d)}"
+}
+
do_install() {
export PKG_BIN_DIR=${D}${bindir}
export PKG_SBIN_DIR=${D}${sbindir}