I recently added virtual/libpcap to cover net-libs/libpcap and net-libs/libpcap-ringbuffer and put the PROVIDE directives in both these packages. I added the following to profile/base/virtuals virtual/libpcap net-libs/libpcap Changing the dependencies for most of the net-analyser ebuilds to depend on virtual/libpcap worked EXCEPT for those with ppc64 keywords. $ fgrep KEYWORDS net-libs/libpcap/libpcap-0.8.3-r1.ebuild KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" There is a stable ppc64 ebuild that satisfies the virtual. Attempting to change the DEPEND* on the following packages with ppc64 keywords resulted in a repoman error: net-analyzer/ntop/ntop-3.0.ebuild net-analyzer/ntop/ntop-3.1.ebuild net-analyzer/ngrep/ngrep-1.40.ebuild net-analyzer/ngrep/ngrep-1.41.ebuild net-analyzer/ngrep/ngrep-1.42.ebuild net-analyzer/tcpdump/tcpdump-3.8.3-r1.ebuild net-analyzer/tcpstat/tcpstat-1.4.ebuild net-analyzer/tcpstat/tcpstat-1.5.ebuild net-analyzer/tcptrace/tcptrace-6.6.1-r1.ebuild net-analyzer/tcptrace/tcptrace-6.6.1.ebuild net-analyzer/trafshow/trafshow-3.1-r1.ebuild net-analyzer/trafshow/trafshow-4.0.ebuild net-analyzer/ethereal-0.10.5.ebuild net-analyzer/ethereal-0.10.8.ebuild net-analyzer/ethereal-0.10.9.ebuild net-analyzer/ethereal-0.10.5-r1.ebuild net-analyzer/ethereal-0.10.6.ebuild net-analyzer/ethereal-0.10.9-r1.ebuild The repoman error: We're not in PORTDIR... setting to: /home/dan/gentoo/gentoo-x86 RepoMan scours the neighborhood... DEPEND.bad 4 net-analyzer/ethereal/ethereal-0.10.5-r1.ebuild: ppc64 ['virtual/libpcap'] net-analyzer/ethereal/ethereal-0.10.8.ebuild: ppc64 ['virtual/libpcap'] net-analyzer/ethereal/ethereal-0.10.9-r1.ebuild: ~ppc64 ['virtual/libpcap'] net-analyzer/ethereal/ethereal-0.10.9.ebuild: ppc64 ['virtual/libpcap'] RDEPEND.bad 4 net-analyzer/ethereal/ethereal-0.10.5-r1.ebuild: ppc64 ['virtual/libpcap'] net-analyzer/ethereal/ethereal-0.10.8.ebuild: ppc64 ['virtual/libpcap'] net-analyzer/ethereal/ethereal-0.10.9-r1.ebuild: ~ppc64 ['virtual/libpcap'] net-analyzer/ethereal/ethereal-0.10.9.ebuild: ppc64 ['virtual/libpcap'] This was confirmed by corsair and ka0ttic: <@corsair> mhh.. I've just tested to change >=net-libs/libpcap-0.7.1 to virtual/libpcap and get what you have said. But even if I do "emerge virtual/libpcap", emerge wants to merge net-libs/libpcap... That's odd!
added virtual to default-ppc64-2004.3/virtuals and all was good. Thanks tove.
verified -> closing