Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 584570
Collapse All | Expand All

(-)a/dev-lang/ispc/ispc-1.8.2-r3.ebuild (-9 / +4 lines)
Lines 16-24 if [[ ${PV} = *9999 ]]; then Link Here
16
	EGIT_REPO_URI="git://github.com/ispc/ispc.git"
16
	EGIT_REPO_URI="git://github.com/ispc/ispc.git"
17
	KEYWORDS=""
17
	KEYWORDS=""
18
else
18
else
19
	SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
19
	SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
20
		http://dev.gentoo.org/~ottxor/dist/${P}-llvm-3.7.patch.gz"
20
	KEYWORDS="amd64 ~x86"
21
	KEYWORDS="~amd64 ~x86"
22
fi
21
fi
23
22
24
LICENSE="BSD BSD-2 UoI-NCSA"
23
LICENSE="BSD BSD-2 UoI-NCSA"
Lines 26-33 SLOT="0" Link Here
26
IUSE="examples"
25
IUSE="examples"
27
26
28
RDEPEND="
27
RDEPEND="
29
	>=sys-devel/clang-3.7
28
	>=sys-devel/clang-3.8:=
30
	>=sys-devel/llvm-3.7
29
	>=sys-devel/llvm-3.8:=
31
	"
30
	"
32
DEPEND="
31
DEPEND="
33
	${RDEPEND}
32
	${RDEPEND}
Lines 36-45 DEPEND=" Link Here
36
	sys-devel/flex
35
	sys-devel/flex
37
	"
36
	"
38
37
39
src_prepare(){
40
	epatch "${WORKDIR}/${P}-llvm-3.7.patch"
41
}
42
43
src_compile() {
38
src_compile() {
44
	sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") verbose
39
	sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") verbose
45
	emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"
40
	emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"

Return to bug 584570