Only in xen-tools/files: xen-tools-3.4.2-ldflags.patch diff -ur xen-tools.orig//xen-tools-3.4.2-r4.ebuild xen-tools/xen-tools-3.4.2-r4.ebuild --- xen-tools.orig//xen-tools-3.4.2-r4.ebuild 2011-09-27 16:49:16.075748409 +0800 +++ xen-tools/xen-tools-3.4.2-r4.ebuild 2011-09-27 17:52:45.323746716 +0800 @@ -149,6 +150,11 @@ # Remove RedHat-specific stuff rm -rf "${D}"/etc/sysconfig + # Remove unneeded static-libs + rm "${D}"/usr/lib64/libxenctrl.a "${D}"/usr/lib64/libxenguest.a \ + "${D}"/usr/lib64/libflask.a "${D}"/usr/lib64/libxenstore.a \ + "${D}"/usr/lib64/libblktap.a "${D}"/usr/lib64/libxenapi.a + dodoc README docs/README.xen-bugtool docs/ChangeLog if use doc; then emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs \