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

Collapse All | Expand All

(-)tigcc-0.96_beta4.ebuild (-7 / +8 lines)
Lines 5-12 Link Here
5
inherit eutils
5
inherit eutils
6
6
7
PATCH_VERSION=${PV:5}
7
PATCH_VERSION=${PV:5}
8
BASE_BINUTILS="2.15"
8
BASE_BINUTILS="2.16.1"
9
GCC_VER="4.0.0"
9
GCC_VER="4.0.1"
10
BIN_VER=${BASE_BINUTILS:0:4}
10
BIN_VER=${BASE_BINUTILS:0:4}
11
ENV_FILE=${D}/etc/env.d/99tigcc
11
ENV_FILE=${D}/etc/env.d/99tigcc
12
S=$WORKDIR
12
S=$WORKDIR
Lines 30-36 Link Here
30
	>=sys-devel/bison-1.875"
30
	>=sys-devel/bison-1.875"
31
31
32
src_unpack() {
32
src_unpack() {
33
	unpack ${A}
33
	unpack ${A}	
34
	sed -e s#' 20050630 (prerelease)'## \
35
	    -e s#'20050630 (TIGCC prerelease)'#'(TIGCC)'# \
36
	    -i /var/tmp/portage/tigcc-0.96_beta5/work/sources/gcc/gcc-4.0-tigcc-patch.diff
37
	#4.0.1 20050630 (prerelease)
38
34
	# start by patching and cleaning out binutils and gcc directories.
39
	# start by patching and cleaning out binutils and gcc directories.
35
	cd ${WORKDIR}/binutils-${BASE_BINUTILS}
40
	cd ${WORKDIR}/binutils-${BASE_BINUTILS}
36
	epatch ${S}/sources/gcc/gas-${BIN_VER}-tigcc-*.diff
41
	epatch ${S}/sources/gcc/gas-${BIN_VER}-tigcc-*.diff
Lines 69-78 Link Here
69
	rm -f -r include/regs
74
	rm -f -r include/regs
70
	rm -f -r texinfo
75
	rm -f -r texinfo
71
76
72
	for i in $(ls ${FILESDIR}/${P}*.patch) ; do
73
		epatch ${i}
74
	done
75
76
	# create build directories for binutils and gcc
77
	# create build directories for binutils and gcc
77
	mkdir -p ${WORKDIR}/build/binutils
78
	mkdir -p ${WORKDIR}/build/binutils
78
	mkdir ${WORKDIR}/build/gcc
79
	mkdir ${WORKDIR}/build/gcc

Return to bug 82335