On 16/08/11 14:55, Svante Signell wrote: > On Tue, 2011-08-16 at 14:24 +0200, Samuel Thibault wrote: >> grep-aptavail -FBuild-Depends -sPackage,Build-Depends -n "libcap" >> mySources | paste -sd " \n" | sed -e 's/^\([^ ]*\) .*, \(libcap[^,]* >> \).*$/\1: \2/' | grep -v hurd-i386 | grep -v linux-any | grep -v not >> +linux-gnu | grep -v libcapi > > What to replace mySources with in the above? > > Even if the build dependencies are linux-any (or equivalent) it looks > like the binary packages still depends on lbacap2. Examples: > wodim: Depends: libc6 (>= 2.7), libcap2 (>= 2.10) > syslog-ng: Depends: libc6 (>= 2.3.4), libcap2 (>= 2.10), ...
On linux-any, where the libcap build dependency was available, libcap support was enabled and the binary packages depend on it. On !linux-any, libcap won't be installed, libcap support won't be enabled and so the binary packages won't depend on libcap2. Emilio