]> git.openpandora.org Git - openembedded.git/commitdiff
perl: Update cpan.bbclass to set CCFLAGS to CFLAGS so that the compiler
authorJamie Lenehan <lenehan@twibble.org>
Thu, 28 Sep 2006 21:21:31 +0000 (21:21 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Thu, 28 Sep 2006 21:21:31 +0000 (21:21 +0000)
settings for the current OE build are used instead of the made up values in
the perl config (which were manually generated since we are cross
compiling). Remove this from each of the perl modules that was manually
setting this.

classes/cpan.bbclass
packages/perl/libcompress-zlib-perl_1.42.bb
packages/perl/libdigest-sha1-perl_2.11.bb
packages/perl/libipc-sharelite-perl_0.09.bb
packages/perl/libparams-validate-perl_0.86.bb

index c48bd1a98028717d915b67b0eac195fae6554b07..0b90e754df8b9758436e575b3e39400752cc018b 100644 (file)
@@ -17,7 +17,7 @@ cpan_do_configure () {
 }
 
 cpan_do_compile () {
-        oe_runmake PASTHRU_INC="${CFLAGS}"
+        oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}"
 }
 
 cpan_do_install () {
index 1dce1bf325e047a547e949332db2620548b51eed..c26678a9b9d2fa441f199f8be6f820a77445e25d 100644 (file)
@@ -9,6 +9,3 @@ SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-1.42.t
 S = "${WORKDIR}/Compress-Zlib-${PV}"
 
 inherit cpan
-
-# Stop from searching /include - should put this in cpan class?
-export CCFLAGS = "${CFLAGS}"
index 912fdb1843dd2f0fb90f2dfeaa93a65889f5ac2a..712c0e67373c150ba63ab78a0fd99bc617286e7e 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm"
 SECTION = "libs"
 MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
 LICENSE = "Artistic"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz"
 
@@ -14,6 +14,3 @@ FILES_${PN} = "${libdir}/perl5/*/*/auto/Digest/SHA1/* \
                 ${libdir}/perl5/*/*/auto/Digest/SHA1/.packlist \
                 ${libdir}/perl5/*/*/Digest"
 FILES_${PN}-dbg += "${libdir}/perl5/*/*/auto/Digest/SHA1/.debug"
-
-# Stop from searching /include - should put this in cpan class?
-export CCFLAGS = "${CFLAGS}"
index 5598eed93e3496af76cea08d213e0e398a5f6e36..6e2c7f16e3a4d94212126a25045f52844048f936 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "IPC::ShareLite - Light-weight interface to shared memory"
 SECTION = "libs"
 MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
 LICENSE = "Artistic"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MAURICE/IPC-ShareLite-0.09.tar.gz"
 
@@ -14,6 +14,3 @@ FILES_${PN} = "${libdir}/perl5/*/*/auto/IPC/ShareLite/* \
                 ${libdir}/perl5/*/*/auto/IPC/ShareLite/.packlist \
                 ${libdir}/perl5/*/*/IPC"
 FILES_${PN}-dbg += "${libdir}/perl5/*/*/auto/IPC/ShareLite/.debug"
-
-# Stop from searching /include - should put this in cpan class?
-export CCFLAGS = "${CFLAGS}"
index 75894af662691954c6b536dab09d7159d6829bcc..cd628f4809841e6063075375f0ae0bccd452c658 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Params::Validate - Validate method/function parameters"
 SECTION = "libs"
 MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
 LICENSE = "Artistic"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-0.86.tar.gz"
 
@@ -15,6 +15,3 @@ FILES_${PN} = "${libdir}/perl5/*/*/auto/Params/Validate/* \
                 ${libdir}/perl5/*/*/Params \
                 ${libdir}/perl5/*/*/Attribute"
 FILES_${PN}-dbg += "${libdir}/perl5/*/*/auto/Params/Validate/.debug"
-
-# Stop from searching /include - should put this in cpan class?
-export CCFLAGS = "${CFLAGS}"