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

Collapse All | Expand All

(-)synaptics-0.14.4.ebuild.ori (-1 / +3 lines)
Lines 17-28 Link Here
17
17
18
src_unpack() {
18
src_unpack() {
19
	unpack ${A} ; cd ${S}
19
	unpack ${A} ; cd ${S}
20
	epatch ${FILESDIR}/${P}-makefile.patch
21
20
22
	# Switch up the CC and CFLAGS stuff.
21
	# Switch up the CC and CFLAGS stuff.
23
	sed -i \
22
	sed -i \
23
		-e "s:BINDIR = \\\$(DESTDIR)/usr/local/bin:BINDIR = ${D}/usr/bin:g" \
24
		-e "s:CC = gcc:CC = $(tc-getCC):g" \
24
		-e "s:CC = gcc:CC = $(tc-getCC):g" \
25
		-e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \
25
		-e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \
26
		-e "s:MANDIR = .*:MANDIR = \\\$(DESTDIR)/usr/share/man:g" \
27
		-e "s:INSTALLED_X = .*:INSTALLED_X = \\\$(DESTDIR)/usr:g" \
26
		${S}/Makefile
28
		${S}/Makefile
27
}
29
}
28
30

Return to bug 115026