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

Collapse All | Expand All

(-)a/openssl-1.0.1e-r1.ebuild (-1 / +7 lines)
Lines 32-37 RDEPEND="static-libs? ( ${LIB_DEPEND} ) Link Here
32
DEPEND="${RDEPEND}
32
DEPEND="${RDEPEND}
33
	sys-apps/diffutils
33
	sys-apps/diffutils
34
	>=dev-lang/perl-5
34
	>=dev-lang/perl-5
35
	x11-misc/makedepend
35
	test? ( sys-devel/bc )"
36
	test? ( sys-devel/bc )"
36
PDEPEND="app-misc/ca-certificates"
37
PDEPEND="app-misc/ca-certificates"
37
38
Lines 67-73 src_prepare() { Link Here
67
	sed -i \
68
	sed -i \
68
		-e '/DIRS/s: fips : :g' \
69
		-e '/DIRS/s: fips : :g' \
69
		-e '/^MANSUFFIX/s:=.*:=ssl:' \
70
		-e '/^MANSUFFIX/s:=.*:=ssl:' \
70
		-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
71
		-e $(has noman FEATURES \
71
		-e $(has noman FEATURES \
72
			&& echo '/^install:/s:install_docs::' \
72
			&& echo '/^install:/s:install_docs::' \
73
			|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
73
			|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
Lines 83-88 src_prepare() { Link Here
83
	append-flags -fno-strict-aliasing
83
	append-flags -fno-strict-aliasing
84
	append-flags $(test-flags-CC -Wa,--noexecstack)
84
	append-flags $(test-flags-CC -Wa,--noexecstack)
85
85
86
	# allow compile using not CC=*gcc #417795
87
	# need DEPEND x11-misc/makedepend
88
	if [[ "$(tc-getCC)" == *gcc ]] ; then
89
		sed -i -e '/^MAKEDEPPROG/s:=.*:=$(CC):' Makefile.org || die
90
	fi
91
86
	sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
92
	sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
87
	./config --test-sanity || die "I AM NOT SANE"
93
	./config --test-sanity || die "I AM NOT SANE"
88
}
94
}

Return to bug 417795