Index: johntheripper-1.7.2-r2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.2-r2.ebuild,v retrieving revision 1.15 diff -u -B -r1.15 johntheripper-1.7.2-r2.ebuild --- johntheripper-1.7.2-r2.ebuild 16 Nov 2007 16:29:04 -0000 1.15 +++ johntheripper-1.7.2-r2.ebuild 8 Dec 2007 10:42:32 -0000 @@ -18,7 +18,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86" -IUSE="mmx altivec sse2" +IUSE="mmx altivec sse2 custom-cflags" RDEPEND=">=dev-libs/openssl-0.9.7" @@ -38,7 +38,9 @@ # any flags, as he optimize the # outputs # - strip-flags + use custom-cflags || strip-flags + append-flags -fno-PIC -fno-PIE + append-ldflags -nopie cd "${S}"/src @@ -46,7 +48,7 @@ OPTIONS="CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC) \ CFLAGS=\"-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE \ -DJOHN_SYSTEMWIDE_HOME=\\\"\\\\\\\"/etc/john\\\\\\\"\\\"\" \ - LDFLAGS=\"${LDFLAGS}\" + LDFLAGS=\"${LDFLAGS}\" \ OPT_NORMAL=\"\"" if use x86 ; then