Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 167731 | Differences between
and this patch

Collapse All | Expand All

(-)johntheripper-1.7.2-r2.ebuild (-3 / +5 lines)
Lines 18-24 Link Here
18
LICENSE="GPL-2"
18
LICENSE="GPL-2"
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
20
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
21
IUSE="mmx altivec sse2"
21
IUSE="mmx altivec sse2 custom-cflags"
22
22
23
RDEPEND=">=dev-libs/openssl-0.9.7"
23
RDEPEND=">=dev-libs/openssl-0.9.7"
24
24
Lines 38-44 Link Here
38
	# any flags, as he optimize the
38
	# any flags, as he optimize the
39
	# outputs
39
	# outputs
40
	#
40
	#
41
	strip-flags
41
	use custom-cflags || strip-flags
42
	append-flags -fno-PIC -fno-PIE
43
	append-ldflags -nopie
42
44
43
	cd "${S}"/src
45
	cd "${S}"/src
44
46
Lines 46-52 Link Here
46
	OPTIONS="CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC) \
48
	OPTIONS="CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC) \
47
		CFLAGS=\"-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE \
49
		CFLAGS=\"-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE \
48
		-DJOHN_SYSTEMWIDE_HOME=\\\"\\\\\\\"/etc/john\\\\\\\"\\\"\" \
50
		-DJOHN_SYSTEMWIDE_HOME=\\\"\\\\\\\"/etc/john\\\\\\\"\\\"\" \
49
		LDFLAGS=\"${LDFLAGS}\"
51
		LDFLAGS=\"${LDFLAGS}\" \
50
		OPT_NORMAL=\"\""
52
		OPT_NORMAL=\"\""
51
53
52
	if use x86 ; then
54
	if use x86 ; then

Return to bug 167731