package/alsamixergui: fix build
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Nov 2009 10:25:30 +0000 (11:25 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Nov 2009 10:25:30 +0000 (11:25 +0100)
And provide correct dependencies (alsa-lib).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/alsamixergui/Config.in
package/alsamixergui/alsamixergui.mk

diff --git a/CHANGES b/CHANGES
index e250a1c7fc3cfe7f3d3d02ccfaa1b935cafad436..f7fbda7f72ccd6716594046c3a8b4fa03b719dd2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,7 +2,7 @@
 
        Additional fixes and cleanups.
 
-       Updated/fixed packages: fltk
+       Updated/fixed packages: alsamixergui, fltk
 
        Issues resolved (http://bugs.uclibc.org):
 
index c7508bbca995d36832c4a74ca57104dcc2745efa..5a31b2031ee0ebda9fe3f4d3203e9206660f25a1 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ALSAMIXERGUI
        depends on BR2_PACKAGE_XORG7
+       depends on BR2_PACKAGE_ALSA_LIB
        select BR2_PACKAGE_FLTK
        bool "alsamixergui"
        help
index e575a223b5906fb0b6b866cc508c46ec23f51702..374e9e33dad11a95e71883fca69b460a5b670e7c 100644 (file)
@@ -10,9 +10,11 @@ ALSAMIXERGUI_AUTORECONF = YES
 ALSAMIXERGUI_INSTALL_STAGING = NO
 ALSAMIXERGUI_INSTALL_TARGET = YES
 
-ALSAMIXERGUI_CONF_OPT = LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lstdc++ -lX11"
+ALSAMIXERGUI_CONF_ENV = ac_cv_lib_fltk_numericsort=yes \
+                       ac_cv_lib_fltk_fl_numericsort=yes \
+                       ac_cv_lib_asound_snd_ctl_open=yes
 
-ALSAMIXERGUI_DEPENDENCIES = fltk
+ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
 
 $(eval $(call AUTOTARGETS,package,alsamixergui))