libvorbis: select libogg dependency
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 19 Feb 2009 15:45:05 +0000 (15:45 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 19 Feb 2009 15:45:05 +0000 (15:45 -0000)
Library dependencies should be selected, and not use depends on.

package/multimedia/libvorbis/Config.in

index 17fd4e845f1c9b8af0974c4aa8cb7059ec8ff044..929713e76521a52d8d876319a24b2d059156c60b 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBVORBIS
        bool "libvorbis"
-       depends on BR2_PACKAGE_LIBOGG
+       select BR2_PACKAGE_LIBOGG
        select BR2_PACKAGE_PKGCONFIG
        help
          Library for the Vorbis open source audio decoder
@@ -20,6 +20,3 @@ config BR2_PACKAGE_LIBVORBIS_TREMOR
        depends on BR2_PACKAGE_LIBVORBIS
        help
          Use the Tremor fixed point implementation
-
-comment "libvorbis requires the package libogg to build"
-       depends on !BR2_PACKAGE_LIBOGG