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

Collapse All | Expand All

(-)nexuiz-1.2.ebuild.origin (-5 / +4 lines)
Lines 22-45 Link Here
22
DEPEND="${RDEPEND}
22
DEPEND="${RDEPEND}
23
		app-arch/unzip"
23
		app-arch/unzip"
24
24
25
S=${WORKDIR}/${PN/n/N}
25
S="${WORKDIR}/${PN/n/N}"
26
26
27
src_unpack() {
27
src_unpack() {
28
	unpack ${A}
28
	unpack ${A}
29
	cd "${S}"
29
	cd ${S}
30
	unzip $(ls nexuizenginesource* | head -n 1)
30
	unzip $(ls nexuizenginesource* | head -n 1)
31
	
31
	
32
	# can't use dosed, because it only works for things in ${D}, not ${S}
33
	sed s:GAMES_DATADIR:"${GAMES_DATADIR}"/${PN}: "${FILESDIR}"/${P}-fs.patch > \
32
	sed s:GAMES_DATADIR:"${GAMES_DATADIR}"/${PN}: "${FILESDIR}"/${P}-fs.patch > \
34
		${T}/${P}-fs.patch \
33
		${T}/${P}-fs.patch \
35
	|| die "sed failed"
34
	|| die "sed failed"
36
35
37
	cd ${S}/darkplaces
36
	cd darkplaces
38
	epatch ${T}/${P}-fs.patch || die "patch failed"
37
	epatch ${T}/${P}-fs.patch || die "patch failed"
39
}
38
}
40
39
41
src_compile() {
40
src_compile() {
42
	cd ${S}/darkplaces
41
	cd darkplaces
43
42
44
	emake cl-release \
43
	emake cl-release \
45
		CFLAGS_RELEASE="" OPTIM_RELEASE="" \
44
		CFLAGS_RELEASE="" OPTIM_RELEASE="" \

Return to bug 94764