--- /dev/null
+Index: util-linux-ng-2.16/configure.ac
+===================================================================
+--- util-linux-ng-2.16.orig/configure.ac 2009-07-22 20:14:46.896898772 +0200
++++ util-linux-ng-2.16/configure.ac 2009-07-22 20:15:08.223644774 +0200
+@@ -70,7 +70,7 @@
+ AC_C_BIGENDIAN
+
+ dnl libtool-2
+-LT_INIT
++AM_PROG_LIBTOOL
+
+ PKG_PROG_PKG_CONFIG
+
DEFAULT_PREFERENCE = "-1"
-INC_PR = "r8"
+INC_PR = "r9"
# allows for a release candidate
RC ?= ""
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${PV}/util-linux-ng-${PV}${RC}.tar.bz2"
+SRC_URI_append_chinook-compat = " file://chinook_libtool.patch;patch=1 "
+
PACKAGES =+ "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-swaponoff util-linux-ng-losetup util-linux-ng-umount util-linux-ng-mount util-linux-ng-readprofile "
PACKAGES_DYNAMIC = "libblkid*"
S = "${WORKDIR}/util-linux-ng-${PV}${RC}"
+do_configure_prepend_chinook-compat () {
+
+ for i in lt~obsolete.m4 ltsugar.m4 libtool.m4 ltoptions.m4 ltversion.m4
+ do
+ rm ${S}/m4/${i}
+ done
+}
+
do_compile () {
set -e
# install ${WORKDIR}/MCONFIG ${S}/MCONFIG
LDFLAGS_append_libc-uclibc = " -lintl"
PACKAGES_DYNAMIC += "libuuid*"
-do_configure_prepend_chinook-compat () {
-
- for i in lt~obsolete.m4 ltsugar.m4 libtool.m4 ltoptions.m4 ltversion.m4
- do
- rm ${S}/m4/${i}
- done
-}