help2man: Update for using our perl-native
authorTom Rini <tom_rini@mentor.com>
Wed, 2 Feb 2011 15:19:57 +0000 (08:19 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 2 Feb 2011 16:42:44 +0000 (09:42 -0700)
Now that we have perl-native going early, we want to wait for
it to be done, along with autoconf/automake.  But that's just
race prevention as we still don't want to re-run autoconf.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/help2man/help2man_1.36.4.bb
recipes/help2man/help2man_1.38.2.bb

index 138ae4f..8cb5530 100644 (file)
@@ -3,19 +3,21 @@ HOMEPAGE    = "http://www.gnu.org/software/help2man"
 SECTION     = "console/utils"
 LICENSE     = "GPLv2"
 DEPENDS     = "gettext-native perl-native liblocale-gettext-perl-native"
+DEPENDS_virtclass-native = "perl-native autoconf-native automake-native"
 RDEPENDS_${PN}    = "gettext perl liblocale-gettext-perl"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
-SRC_URI    = "${GNU_MIRROR}/help2man/${P}.tar.gz"
+SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
 
 inherit autotools
 
-PR = "r2"
+BBCLASSEXTEND = "native"
 
-EXTRA_OECONF += "PERL=/usr/bin/perl"
+PR = "r3"
 
-do_configure () {
+# We don't want to reconfigure things
+do_configure() {
        oe_runconf
 }
 
index 7279336..cb1deb3 100644 (file)
@@ -2,11 +2,12 @@ DESCRIPTION = "Program to create simple man pages"
 SECTION = "devel"
 LICENSE = "GPLv3"
 DEPENDS = "gettext-native perl-native liblocale-gettext-perl-native"
-DEPENDS_virtclass-native = ""
-RDEPENDS_pn-help2man = "gettext perl liblocale-gettext-perl"
-PR = "r1"
+DEPENDS_virtclass-native = "perl-native autoconf-native automake-native"
+RDEPENDS_${PN} = "gettext perl liblocale-gettext-perl"
+PR = "r2"
 
 SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
+
 SRC_URI[md5sum] = "426671c6fe79e5ef2233303367eab5a6"
 SRC_URI[sha256sum] = "952c29561bce8b233aa10af7f0e0c79c8243712810bf8ddf01e6efd82ce250d1"
 
@@ -16,7 +17,7 @@ EXTRA_OECONF = "--disable-nls"
 
 BBCLASSEXTEND = "native"
 
-# We don't want to reconfigure things as we're using host perl
+# We don't want to reconfigure things
 do_configure() {
        oe_runconf
 }