Patchwork [meta-webserver,7/8] meta-webserver: use BPN in SRC_URI

login
register
mail settings
Submitter Robert Yang
Date July 3, 2014, 2:25 a.m.
Message ID <1404354360-978-8-git-send-email-liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/74857/
State Accepted, archived
Headers show

Comments

Robert Yang - July 3, 2014, 2:25 a.m.
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../recipes-httpd/hiawatha/hiawatha_9.2.bb         |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
index 57005c5..b9fa5cd 100644
--- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
+++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
@@ -6,7 +6,7 @@  DEPENDS = "libxml2 libxslt"
 
 SECTION = "net"
 
-SRC_URI = "http://hiawatha-webserver.org/files/${PN}-${PV}.tar.gz \
+SRC_URI = "http://hiawatha-webserver.org/files/${BP}.tar.gz \
            file://hiawatha-init \
            file://hiawatha.service "