summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2006-08-08 16:36:52 +0000
committerKristoffer Ericson <kristoffer_e1@hotmail.com>2006-08-08 16:36:52 +0000
commit3edf84491e44049eecaa83f73625190694a6177e (patch)
tree30672deaaad6f2063d788e06bc5297ab17e17be5 /classes
parent25ba1e57507f5a0b8b8163551aab626d80f16b6e (diff)
parentd9894509a7e38a1259feb1963388d6c22d2fe62a (diff)
merge of a2b72038a75fbaa0877614758b62b3787a0937a4
and ade4046c4fc13b91526f334d6ca6f33972b6ff8c
Diffstat (limited to 'classes')
-rw-r--r--classes/cpan.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index 853abfd1b3..78b902f85d 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -1,7 +1,8 @@
FILES_${PN} += '${libdir}/perl5'
+EXTRA_CPANFLAGS = ""
cpan_do_configure () {
- perl Makefile.PL
+ perl Makefile.PL ${EXTRA_CPANFLAGS}
if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
. ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh
sed -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:; s:\(SITEARCHEXP = \).*:\1${sitearchexp}:; s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5:; s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" < Makefile > Makefile.new