--- amule-old.2.0.1.ebuild 2005-05-27 23:10:04.000000000 -0500 +++ amule-2.0.1.ebuild 2005-05-27 23:08:24.000000000 -0500 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: -inherit eutils wxwidgets +inherit eutils flag-o-matic wxwidgets MY_P=${P/m/M} S=${WORKDIR}/${MY_P} @@ -14,7 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc ~ppc64 ~sparc ~alpha" -IUSE="amuled debug gtk2 nls remote stats unicode" +IUSE="amuled debug gtk2 nls remote stats unicode hardened" DEPEND=">=x11-libs/wxGTK-2.6.0 @@ -55,7 +55,10 @@ `use_enable stats alc` \ `use_enable stats alcc` \ || die - + # we filter ssp until bug #74457 is closed to build on hardened + if use hardened; then + fiter-flags -fstack-protector -fstack-protector-all + fi emake -j1 || die }