[oe-commits] Dexuan Cui : perl-native: populate into its own dir

git version control git at git.openembedded.org
Tue Jun 14 13:38:53 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: c5f092892637c3442426984251139f93d55d3dd7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c5f092892637c3442426984251139f93d55d3dd7

Author: Dexuan Cui <dexuan.cui at intel.com>
Date:   Tue May 31 15:07:56 2011 +0800

perl-native: populate into its own dir

Signed-off-by: Dexuan Cui <dexuan.cui at intel.com>

---

 meta/recipes-devtools/perl/perl-native_5.12.3.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl-native_5.12.3.bb b/meta/recipes-devtools/perl/perl-native_5.12.3.bb
index 50fa1c9..63f7e13 100644
--- a/meta/recipes-devtools/perl/perl-native_5.12.3.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.12.3.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "Artistic|GPL"
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
 		    file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
-PR = "r2"
+PR = "r3"
 
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
                     file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
@@ -28,6 +28,8 @@ S = "${WORKDIR}/perl-${PV}"
 
 inherit native
 
+NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
+
 export LD="${CCLD}"
 
 do_configure () {
@@ -41,6 +43,7 @@ do_configure () {
 		-Dvendorprefix=${prefix} \
 		-Dsiteprefix=${prefix} \
 		\
+		-Dbin=${STAGING_BINDIR}/${PN} \
 		-Dprivlib=${STAGING_LIBDIR}/perl/${PV} \
 		-Darchlib=${STAGING_LIBDIR}/perl/${PV} \
 		-Dvendorlib=${STAGING_LIBDIR}/perl/${PV} \





More information about the Openembedded-commits mailing list