diff options
Diffstat (limited to 'packages/opkg')
-rw-r--r-- | packages/opkg/opkg-native_svn.bb | 6 | ||||
-rw-r--r-- | packages/opkg/opkg-nogpg_svn.bb | 5 | ||||
-rw-r--r-- | packages/opkg/opkg.inc | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/packages/opkg/opkg-native_svn.bb b/packages/opkg/opkg-native_svn.bb index bc38d512d6..57c6e61fb0 100644 --- a/packages/opkg/opkg-native_svn.bb +++ b/packages/opkg/opkg-native_svn.bb @@ -7,4 +7,10 @@ target_libdir := "${libdir}" inherit native +# The nogpg version isn't getting much love and has an unused variable which trips up -Werror +do_configure_prepend() { + sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am +} + + EXTRA_OECONF += "--with-opkglibdir=${target_libdir} --disable-gpg" diff --git a/packages/opkg/opkg-nogpg_svn.bb b/packages/opkg/opkg-nogpg_svn.bb index aa16b551fe..3a7a0ee3b2 100644 --- a/packages/opkg/opkg-nogpg_svn.bb +++ b/packages/opkg/opkg-nogpg_svn.bb @@ -7,4 +7,9 @@ SRCREV = "${SRCREV_pn-opkg}" EXTRA_OECONF += "--disable-gpg" +# The nogpg version isn't getting much love and has an unused variable which trips up -Werror +do_configure_prepend() { + sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am +} + DEFAULT_PREFERENCE = "-1" diff --git a/packages/opkg/opkg.inc b/packages/opkg/opkg.inc index 50816ef0e0..104e0fdb42 100644 --- a/packages/opkg/opkg.inc +++ b/packages/opkg/opkg.inc @@ -3,7 +3,7 @@ DESCRIPTION_libopkg = "Opkg Package Manager Library" SECTION = "base" LICENSE = "GPL" DEPENDS = "curl gpgme" -PV = "0.1+svnr${SRCREV}" +PV = "0.1.4+svnr${SRCREV}" SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http \ file://fix_endianness.patch;patch=1;maxrev=4246" |