cmus: fix configure checks against host files

cmuses configure checks an absolute path for the existence of a kernel
header. This results in a check against the hosts version of
/usr/include/sys/soundcard.h, which potentially does not exists (at
least on my system).

This patch supersedes http://patchwork.openwrt.org/patch/2713/.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39417 3c298f89-4303-0410-b956-a3cf2f4a3e73
packages: libdaemon: prevent an erroneous error message

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39418 3c298f89-4303-0410-b956-a3cf2f4a3e73
alpine: fix build on Archlinux

alpine adds a wrong path during configure (-L/usr/lib)
this leads to build fail on Archlinux
...
checking for setupterm in -lncurses... no
...
"configure: error: Terminfo/termcap not found"

since Debian uses a different path for "host libs" it fails to load wrong libs
and finds the right ncurses lib in the next (correct) path

The wrong path is injected by the SSL test
thx jow for finding it

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39423 3c298f89-4303-0410-b956-a3cf2f4a3e73