config BR2_PACKAGE_WVDIAL
        bool "wvdial"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_LARGEFILE
        depends on BR2_USE_MMU # wvstreams
        select BR2_PACKAGE_WVSTREAMS
        help
          wvdial is an intelligent Point-to-Point Protocol dialer
 
          http://wvdial.googlecode.com/
+
+comment "wvdial requires a toolchain with C++ and largefile support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
 
 config BR2_PACKAGE_WVSTREAMS
        bool "wvstreams"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_LARGEFILE
        depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_ZLIB
 
          http://wvstreams.googlecode.com/
 
-comment "wvstreams requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "wvstreams requires a toolchain with C++ and largefile support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE