Gentoo Archives: gentoo-ppc-dev

From: Wendell Thomas Duncan <wendell@××××××××.com>
To: gentoo-ppc-dev@g.o
Subject: [gentoo-ppc-dev] xvid of G4
Date: Fri, 13 Dec 2002 17:37:43
Message-Id: 1039800963.1702.5.camel@pointe.cognitech-ut.com
1 I don't really understand how to make an e-build yet, but there is a
2 problem with the xvid-0.9.0-ebuild
3
4 Below is an excerpt fromt he ebuild. -- I added a line to get it to
5 compile on the G4. Really bad hack, but maybe somebody who knows this
6 better can use this and do it right.
7
8 cd ${S}/build/generic/ || die
9 if use ppc; then
10 sed -e "s:^CC:#CC:" \
11 -e "s:^LIBDIR:#LIBDIR:" \
12 -e "s:^CFLAGS +=:#CFLAGS +=:" \
13 -e "s:^CFLAGS =:CFLAGS +=:" \
14 Makefile.linuxppc > Makefile
15 ###### This is the line I added -- it was needed for a G4 compile -
16 ###### probably breaks something on the G3.
17 cp Makefile.linuxppc_altivec Makefile
18 ######
19 elif use x86; then
20
21 Wendell Duncan
22
23
24 --
25 gentoo-ppc-dev@g.o mailing list