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

(-)xevil-2.02_p2-r1.ebuild.orig (-2 / +3 lines)
Lines 25-37 Link Here
25
src_unpack() {
25
src_unpack() {
26
	unpack ${A}
26
	unpack ${A}
27
	edos2unix readme.txt x11/*.{cpp,h} cmn/*.{cpp,h} makefile config.mk
27
	edos2unix readme.txt x11/*.{cpp,h} cmn/*.{cpp,h} makefile config.mk
28
	epatch "${WORKDIR}"/xevil_${MY_PV}-${DEB_PATCH}.diff
28
	epatch "${WORKDIR}"/xevil_${MY_PV}-${DEB_PATCH}.diff || die "patch failed"
29
	sed -i \
29
	sed -i \
30
		-e 's:-static::' \
30
		-e 's:-static::' \
31
		-e "s:CFLAGS=\":CFLAGS=\"${CFLAGS} :g" \
31
		-e "s:CFLAGS=\":CFLAGS=\"${CFLAGS} :g" \
32
		-e 's:-lXpm:-lXpm -lpthread:g' \
32
		-e 's:-lXpm:-lXpm -lpthread:g' \
33
		-e "s:LINK_FLAGS=\":LINK_FLAGS=\"${LDFLAGS}, :" \
33
		config.mk || die "sed failed"
34
		config.mk || die "sed failed"
34
	epatch "${FILESDIR}"/${P}-glibc-2.10.patch
35
	epatch "${FILESDIR}"/${P}-glibc-2.10.patch || die "patch failed"
35
}
36
}
36
37
37
src_compile() {
38
src_compile() {

Return to bug 331897