[oe-commits] Koen Kooi : samba: enable mmap for *glibc build and aio (thru -lrt) for everyone

git version control git at git.openembedded.org
Wed Aug 4 09:39:09 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 930f647f13f93979413e815241be31473efe3f46
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=930f647f13f93979413e815241be31473efe3f46

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Aug  4 11:36:42 2010 +0200

samba: enable mmap for *glibc build and aio (thru -lrt) for everyone

---

 recipes/samba/samba.inc      |    7 ++++++-
 recipes/samba/samba_3.3.9.bb |    2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/recipes/samba/samba.inc b/recipes/samba/samba.inc
index d8df8f1..5c92e82 100644
--- a/recipes/samba/samba.inc
+++ b/recipes/samba/samba.inc
@@ -18,6 +18,9 @@ FILES_${PN}     += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat \
 FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so ${libdir}/charset/.debug/*.so \
                     ${libdir}/auth/.debug/*.so ${libdir}/security/.debug/*.so"
 
+SAMBAMMAP = "no"
+SAMBAMMAP_libc-glibc = "yes"
+
 # The file system settings --foodir=dirfoo and overridden unconditionally
 # in the samba config by --with-foodir=dirfoo - even if the --with is not
 # specified!  Fix that here.  Set the privatedir to /etc/samba/private.
@@ -33,7 +36,9 @@ EXTRA_OECONF='--disable-cups \
               --with-libdir=${libdir} \
               --with-mandir=${mandir} \
               --with-swatdir=${datadir}/swat \
-              samba_cv_struct_timespec=yes'
+              --with-aio-support \
+              samba_cv_struct_timespec=yes \
+              libreplace_cv_HAVE_MMAP=${SAMBAMMAP}'
 
 INITSCRIPT_NAME = "samba"
 # No dependencies, goes in at level 20 (NOTE: take care with the
diff --git a/recipes/samba/samba_3.3.9.bb b/recipes/samba/samba_3.3.9.bb
index 00fef0f..9ae6653 100644
--- a/recipes/samba/samba_3.3.9.bb
+++ b/recipes/samba/samba_3.3.9.bb
@@ -13,7 +13,7 @@ SRC_URI += "file://configure-3.3.0.patch \
             file://mtab.patch \
             file://tdbheaderfix.patch "
 
-PR = "r3"
+PR = "r4"
 
 EXTRA_OECONF += "\
 	SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \





More information about the Openembedded-commits mailing list