All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] perl: honour DISTRO_FEATURE largefile
@ 2010-08-04 13:51 Bernhard Reutner-Fischer
  2010-08-04 13:51 ` [PATCH 2/3] perl: use only one method all_perl_packages Bernhard Reutner-Fischer
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Bernhard Reutner-Fischer @ 2010-08-04 13:51 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 recipes/perl/perl-native_5.8.8.bb |    4 ++--
 recipes/perl/perl_5.8.8.bb        |    6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/recipes/perl/perl-native_5.8.8.bb b/recipes/perl/perl-native_5.8.8.bb
index fe1bc84..41a85bc 100644
--- a/recipes/perl/perl-native_5.8.8.bb
+++ b/recipes/perl/perl-native_5.8.8.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 DEPENDS = "virtual/db-native gdbm-native"
-PR = "r20"
+PR = "r21"
 NATIVE_INSTALL_WORKS = "1"
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
@@ -44,7 +44,7 @@ do_configure () {
         -Duseshrplib \
         -Dusethreads \
         -Duseithreads \
-        -Duselargefiles \
+        ${@base_contains("DISTRO_FEATURES", "largefile", "-Duselargefiles", "-Uuselargefiles", d)} \
 	-Dnoextensions=ODBM_File \
         -Ud_dosuid \
         -Ui_db \
diff --git a/recipes/perl/perl_5.8.8.bb b/recipes/perl/perl_5.8.8.bb
index ed489f4..5400e69 100644
--- a/recipes/perl/perl_5.8.8.bb
+++ b/recipes/perl/perl_5.8.8.bb
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
 PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native grep-native"
-PR = "r35"
+PR = "r36"
 
 # Major part of version
 PVM = "5.8"
@@ -66,7 +66,9 @@ do_configure() {
                  ${WORKDIR}/config.sh-${SITEINFO_BITS}-${SITEINFO_ENDIANNESS}; do
             cat $i >> config.sh-${TARGET_ARCH}-${TARGET_OS}
         done
-
+	uselargefiles="${@base_contains("DISTRO_FEATURES", "largefile", "define", "undef", d)}"
+	sed -i -e "s,^\(uselargefiles=\).*,\1'$uselargefiles',g" \
+		    config.sh-${TARGET_ARCH}-${TARGET_OS}
         # Fixups for uclibc
         if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-08-04 16:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-04 13:51 [PATCH 1/3] perl: honour DISTRO_FEATURE largefile Bernhard Reutner-Fischer
2010-08-04 13:51 ` [PATCH 2/3] perl: use only one method all_perl_packages Bernhard Reutner-Fischer
2010-08-04 14:07   ` Roman I Khimov
2010-08-04 14:21     ` Bernhard Reutner-Fischer
2010-08-04 14:31       ` Roman I Khimov
2010-08-04 14:36       ` Chris Larson
2010-08-04 15:58         ` Bernhard Reutner-Fischer
2010-08-04 16:25           ` Chris Larson
2010-08-04 13:51 ` [PATCH 3/3] openssl: properly handle ipv6 and largefile Bernhard Reutner-Fischer
2010-08-04 14:02 ` [PATCH 1/3] perl: honour DISTRO_FEATURE largefile Roman I Khimov
2010-08-04 14:17   ` Bernhard Reutner-Fischer
2010-08-04 14:20     ` Bernhard Reutner-Fischer
2010-08-04 15:17     ` Roman I Khimov
2010-08-04 16:54       ` [PATCH][v2] " Bernhard Reutner-Fischer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.