/usr/portage/sys-apps/util-linux/util-linux-2.12r-r7.ebuild src_install() { make install DESTDIR="${D}" || die "install failed" dosym ../man8/agetty.8 /usr/share/man/man1/getty.1 dosbin partx/{addpart,delpart,partx} || die "dosbin" use perl || rm -f "${D}"/usr/bin/chkdupexe # required by autotools dosym /bin/arch /usr/bin/arch if use crypt || use old-crypt ; then newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop fi # man-pages installs renice(1p) but util-linux does renice(8) dosym ../man8/renice.8 /usr/share/man/man1/renice.1 Two lines should read: dosym ../man8/agetty.8.bz2 /usr/share/man/man1/getty.1 dosym ../man8/renice.8.bz2 /usr/share/man/man1/renice.1
(In reply to comment #0) > Two lines should read: > dosym ../man8/agetty.8.bz2 /usr/share/man/man1/getty.1 > dosym ../man8/renice.8.bz2 /usr/share/man/man1/renice.1 Not really... The relative symlinks are just fine and portage takes care of the compression. # readlink /usr/share/man/man1/renice.1.bz2 ../man8/renice.8.bz2 # readlink /usr/share/man/man1/getty.1.bz2 ../man8/agetty.8.bz2
(In reply to comment #1) > Not really... The relative symlinks are just fine and portage takes care of the > compression. > > # readlink /usr/share/man/man1/renice.1.bz2 > ../man8/renice.8.bz2 > # readlink /usr/share/man/man1/getty.1.bz2 > ../man8/agetty.8.bz2 Portage compresses the actual file, but the link points to an uncompressed file (that doesn't exist). # ls -al man1/renice.1 lrwxrwxrwx 1 root root 16 2007-05-14 10:11:35 man1/renice.1 -> ../man8/renice.8 (flashing red) # ls -al man8/renice.8.bz2 -rw-r--r-- 1 root root 2038 2007-05-14 10:11:32 man8/renice.8.bz2 # readlink man1/renice.1 ../man8/renice.8 (doesn't exist) # man 1 renice No entry for renice in section 1 of the manual
(In reply to comment #2) > Portage compresses the actual file, but the link points to an uncompressed file > (that doesn't exist). Upgrade your portage, works just fine here.