[oe] [PATCH] Fix ctorrent build failure by using --disable-maintainer-mode option

philby john pjohn at mvista.com
Thu Jan 5 12:55:56 UTC 2012


From: Philby John <pjohn at mvista.com>
Date: Thu, 5 Jan 2012 18:08:00 +0530
Subject: [PATCH] Fix ctorrent build failure by using --disable-maintainer-mode option

ctorrent package fails with error "aclocal.m4:14: error: this file was
generated for autoconf dnh3.3.1" as reported here
lists.linuxtogo.org/pipermail/openembedded-devel/2008-October/006598.html
Fix this by including --disable-maintainer-mode.

Also since ctcs inherits ctorrent.inc add do_configure() there doing
nothing.

Signed-off-by: Philby John <pjohn at mvista.com>
---
 recipes/ctorrent/ctcs_1.4.1.bb     |    6 +++++-
 recipes/ctorrent/ctorrent.inc      |    6 ++++++
 recipes/ctorrent/ctorrent_3.3.1.bb |    2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/recipes/ctorrent/ctcs_1.4.1.bb b/recipes/ctorrent/ctcs_1.4.1.bb
index 8680b0c..d1e084e 100644
--- a/recipes/ctorrent/ctcs_1.4.1.bb
+++ b/recipes/ctorrent/ctcs_1.4.1.bb
@@ -5,7 +5,11 @@ RDEPENDS_${PN} = "perl perl-module-strict perl-module-socket perl-module-fcntl \
             perl-module-errno perl-module-sys-hostname"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/dtorrent/ctcs-${PV}.tar.gz"
-PR="r1"
+PR="r2"
+
+do_configure () {
+        :
+}
 
 do_install () {
   install -d ${D}/usr/bin
diff --git a/recipes/ctorrent/ctorrent.inc b/recipes/ctorrent/ctorrent.inc
index 8005fa9..e04c5d3 100644
--- a/recipes/ctorrent/ctorrent.inc
+++ b/recipes/ctorrent/ctorrent.inc
@@ -8,3 +8,9 @@ DEPENDS = "openssl"
 SRC_URI = "${SOURCEFORGE_MIRROR}/ctorrent/ctorrent-${PV}.tar.bz2"
 
 inherit autotools
+
+EXTRA_OECONF = "--disable-maintainer-mode"
+
+do_configure() {
+                oe_runconf
+}
diff --git a/recipes/ctorrent/ctorrent_3.3.1.bb b/recipes/ctorrent/ctorrent_3.3.1.bb
index efc2eca..2c6e4f9 100644
--- a/recipes/ctorrent/ctorrent_3.3.1.bb
+++ b/recipes/ctorrent/ctorrent_3.3.1.bb
@@ -6,7 +6,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/dtorrent/ctorrent-dnh${PV}.tar.gz \
            file://CVE-2009-1759.patch;striplevel=0 "
 
 S = "${WORKDIR}/${PN}-dnh${PV}"
-PR="r1"
+PR="r2"
 
 SRC_URI[md5sum] = "9bfe42c2dd6a6aabd545fe332bc23e87"
 SRC_URI[sha256sum] = "e65d9c7a4da499314126d979a0a79ce5123e0f969c786bfddcee261f14cb648b"
-- 
1.6.3.3.338.ge89ce





More information about the Openembedded-devel mailing list