From: Graham Gower Date: Wed, 1 Sep 2010 14:16:01 +0000 (+0000) Subject: gpe-package_0.4.bb: fix build problems introduced in previous commit. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a970a3ab04c63971ff778e75369a52254f721ff7;p=openembedded.git 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. Signed-off-by: Graham Gower Signed-off-by: Khem Raj --- diff --git a/recipes/gpe-package/gpe-package_0.4.bb b/recipes/gpe-package/gpe-package_0.4.bb index 884143d8fb..1188843101 100644 --- a/recipes/gpe-package/gpe-package_0.4.bb +++ b/recipes/gpe-package/gpe-package_0.4.bb @@ -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"