Adds a symlink option (on by default) to create symlinks in the destination directory. --- /usr/portage/sys-apps/memtest86+/memtest86+-4.20.ebuild +++ /usr/portage/sys-apps/memtest86+/memtest86+-4.20.ebuild @@ -13,7 +13,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="floppy serial" +IUSE="floppy serial +symlink" RESTRICT="test" @@ -37,7 +37,11 @@ insinto /boot/memtest86plus newins memtest.bin memtest || die newins memtest memtest.netbsd || die - dosym memtest /boot/memtest86plus/memtest.bin + if use symlink ; then + dosym memtest /boot/memtest86plus/memtest.bin + else + doins memtest.bin + fi dodoc README README.build-process if use floppy ; then