aboutsummaryrefslogtreecommitdiffstats
path: root/package/gmpc
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-11 15:43:43 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-11 15:43:43 +0000
commit2bb4de2058f189285297bc7dfb4fdf430162fe64 (patch)
tree34965df764c6c52e7171cfb83636217995b3bb7f /package/gmpc
parentcfca28f0a56f54d2d5dba977c1113f6d818ec31e (diff)
downloadbuildroot-novena-2bb4de2058f189285297bc7dfb4fdf430162fe64.tar.gz
buildroot-novena-2bb4de2058f189285297bc7dfb4fdf430162fe64.zip
gmpc: fix build without libSM
Diffstat (limited to 'package/gmpc')
-rw-r--r--package/gmpc/gmpc.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/gmpc/gmpc.mk b/package/gmpc/gmpc.mk
index 52cb3d685..3bb168f9b 100644
--- a/package/gmpc/gmpc.mk
+++ b/package/gmpc/gmpc.mk
@@ -10,8 +10,13 @@ GMPC_LIBTOOL_PATCH = NO
GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes
GMPC_CONF_OPT = --disable-mmkeys
-
GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd
+ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y)
+GMPC_DEPENENCIES += xlib_libSM
+GMPC_CONF_OPT += --enable-sm
+else
+GMPC_CONF_OPT += --disable-sm
+endif
$(eval $(call AUTOTARGETS,package,gmpc))