summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-12 11:10:08 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-12 11:10:08 +0000
commitb17670211a86799c101394dcaa7f1ed88758ddde (patch)
tree3fc555d85a85d4ad9e658a52316bab98aacf5f0a /meta/classes/cpan.bbclass
parent0e09147de182aeb96cff9ff59211b3d907ba83f7 (diff)
downloadpoky-b17670211a86799c101394dcaa7f1ed88758ddde.tar.gz
Remove hardcoded staging layout assumptions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3117 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r--meta/classes/cpan.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 3250528c7a..5a0b4a5c92 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -20,14 +20,14 @@ cpan_do_configure () {
20 -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ 20 -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \
21 -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${datadir}/perl5:" \ 21 -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${datadir}/perl5:" \
22 -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" \ 22 -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" \
23 -e "s:\(LDDLFLAGS.*\)${STAGING_DIR}/${BUILD_SYS}/lib:\1${STAGING_LIBDIR}:" \ 23 -e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \
24 Makefile 24 Makefile
25 else 25 else
26 sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \ 26 sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \
27 -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ 27 -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \
28 -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \ 28 -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \
29 -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \ 29 -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \
30 -e "s:\(LDDLFLAGS.*\)${STAGING_DIR}/${BUILD_SYS}/lib:\1${STAGING_LIBDIR}:" \ 30 -e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \
31 Makefile 31 Makefile
32 fi 32 fi
33 fi 33 fi