Index: syslinux-3.07.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.07.ebuild,v retrieving revision 1.1 diff -u -r1.1 syslinux-3.07.ebuild --- syslinux-3.07.ebuild 15 Jan 2005 21:25:41 -0000 1.1 +++ syslinux-3.07.ebuild 18 Jan 2005 15:21:24 -0000 @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="" +IUSE="hardened" RDEPEND="sys-fs/mtools" DEPEND="${RDEPEND} @@ -23,8 +23,18 @@ # removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/syslinux-3.07-solar.patch +} + src_compile() { - emake installer || die + if use hardened; then + emake installer || die + else + emake BSUBDIRS="" installer || die + fi } src_install() {