Permalink
Browse files

xfsprogs: Switch to getting libtool from PATH

Signed-off-by: Tom Rini <tom_rini@mentor.com>
  • Loading branch information...
1 parent cadfaba commit 5ef4b15299fbc2ada5dbbc802fb51890619a235f Tom Rini committed Sep 9, 2010
Showing with 7 additions and 4 deletions.
  1. +4 −2 recipes/xfsprogs/xfsprogs_2.8.16.bb
  2. +3 −2 recipes/xfsprogs/xfsprogs_3.1.2.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "XFS Filesystem Utilities"
HOMEPAGE = "http://oss.sgi.com/projects/xfs"
LICENSE = "GPL"
SECTION = "base"
-PR = "r2"
+PR = "r3"
DEPENDS = "util-linux-ng"
SRC_URI = "http://slackware.osuosl.org/slackware-12.0/source/a/xfsprogs/xfsprogs_2.8.16-1.tar.gz"
@@ -11,8 +11,10 @@ PARALLEL_MAKE = ""
inherit autotools
EXTRA_OECONF = "--enable-gettext=no"
+EXTRA_OEMAKE = "'LIBTOOL=${HOST_SYS}-libtool'"
+
do_configure () {
- export LIBTOOL="${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"
+ export LIBTOOL="${HOST_SYS}-libtool"
export DEBUG="-DNDEBUG"
oe_runconf
}
@@ -3,7 +3,7 @@ HOMEPAGE = "http://oss.sgi.com/projects/xfs"
LICENSE = "GPL"
SECTION = "base"
DEPENDS = "util-linux-ng"
-PR = "r1"
+PR = "r2"
SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz"
SRC_URI[md5sum] = "86d10178ee6897cb099c97303e6d9da0"
@@ -12,13 +12,14 @@ SRC_URI[sha256sum] = "9128046ea978a65560b0e87406af9646a283fa0b54eab1801b971d8a89
PARALLEL_MAKE = ""
inherit autotools
EXTRA_OECONF = "--enable-gettext=no"
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
TARGET_CC_ARCH += "${LDFLAGS}"
FILES_${PN}-dev += "${base_libdir}/libhandle.la \
${base_libdir}/libhandle.so"
do_configure () {
- export LIBTOOL="${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"
export DEBUG="-DNDEBUG"
oe_runconf
}

0 comments on commit 5ef4b15

Please sign in to comment.