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

Collapse All | Expand All

(-)pari-2.1.7.ebuild (-1 / +7 lines)
Lines 10-16 Link Here
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc sparc x86"
13
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
14
IUSE="doc emacs"
14
IUSE="doc emacs"
15
15
16
DEPEND="doc? ( virtual/tetex )"
16
DEPEND="doc? ( virtual/tetex )"
Lines 19-24 Link Here
19
	unpack ${A}
19
	unpack ${A}
20
	cd ${S}
20
	cd ${S}
21
	epatch ${FILESDIR}/docs.patch
21
	epatch ${FILESDIR}/docs.patch
22
	epatch ${FILESDIR}/pari-non-exec-stack-x86-gentoo.patch
22
}
23
}
23
24
24
src_compile() {
25
src_compile() {
Lines 40-45 Link Here
40
	#we also need to force -fPIC throughout on amd64
41
	#we also need to force -fPIC throughout on amd64
41
	if [ "${ARCH}" = "amd64" ] && ! is-flag -fPIC; then append-flags -fPIC; fi
42
	if [ "${ARCH}" = "amd64" ] && ! is-flag -fPIC; then append-flags -fPIC; fi
42
43
44
	# fix up Makefile to get rid of insecure RUNPATHS
45
	sed -e "s|[: ]\$tmp||" -i config/Makefile.SH || \
46
		die "Failed to fix Makefile.SH"
47
48
43
	./Configure \
49
	./Configure \
44
		--host=${myhost} \
50
		--host=${myhost} \
45
		--prefix=/usr \
51
		--prefix=/usr \

Return to bug 117434