Skip to contentSkip to conversation

gpe-package_0.4.bb: fix build problems introduced in previous commit.

PATCH New Graham Gower 1 participant 1 message Sep 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpe-package_0.4.bb: fix build problems introduced in previous commit.

gpe-package really depends on libipkg, not IPKG_VARIANT. It will not build against a recent opkg.

Also, SRC_URI+=foo must be after inherit gpe or gpe.bbclass overwrites it.

---
 recipes/gpe-package/gpe-package_0.4.bb |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
recipes/gpe-package/gpe-package_0.4.bb +4 -5
index 884143d..1188843 100644
@@ -3,18 +3,17 @@ SECTION = "gpe"
 PRIORITY = "optional"
 LICENSE = "GPLv2+"
 
-IPKG_VARIANT ?= "opkg"
-DEPENDS = "${IPKG_VARIANT} libpcre libgpewidget"
+DEPENDS = "libipkg libpcre libgpewidget"
 
-PR = "r2"
+PR = "r3"
+
+inherit gpe pkgconfig
 
 SRC_URI += " file://sbin-and-no-suid-install.patch \
                 file://gpe-package"
 SRC_URI[md5sum] = "f131eed187483620916b7e624b9e3367"
 SRC_URI[sha256sum] = "a1fbdb1e8357b0b2362df9ee457c90dcaafbe7a11723117cb0cbee1ea0f6315c"
 
-inherit gpe pkgconfig
-
 CFLAGS += "-DENABLE_PCRE"
 LDFLAGS += "-lpcre"
 
Signature · 1 line
1.7.1