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

Collapse All | Expand All

(-)/usr/portage/media-video/transcode/transcode-0.6.12-r1.ebuild (-2 / +9 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /home/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.12-r1.ebuild,v 1.9 2004/06/02 02:40:32 lv Exp $
3
# $Header: /home/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.12-r1.ebuild,v 1.9 2004/06/02 02:40:32 lv Exp $
4
4
5
inherit libtool flag-o-matic eutils
5
inherit libtool flag-o-matic eutils gcc
6
6
7
MY_P="${P/_pre/.}"
7
MY_P="${P/_pre/.}"
8
S=${WORKDIR}/${MY_P}
8
S=${WORKDIR}/${MY_P}
Lines 38-47 Link Here
38
	theora? ( media-libs/libtheora )"
38
	theora? ( media-libs/libtheora )"
39
39
40
src_unpack() {
40
src_unpack() {
41
    
41
	unpack ${A}
42
	unpack ${A}
42
	cd ${S}
43
	cd ${S}
44
	
45
	if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
46
	then
43
	epatch ${FILESDIR}/transcode-gcc34.patch
47
	epatch ${FILESDIR}/transcode-gcc34.patch
44
48
	epatch ${FILESDIR}/transcode-0.6.12-gcc-3.4.patch
49
	fi
50
	
45
	if has_version  '>=media-libs/netpbm-9.13'
51
	if has_version  '>=media-libs/netpbm-9.13'
46
	then
52
	then
47
		einfo "New netbpm (>9.12)..."
53
		einfo "New netbpm (>9.12)..."
Lines 56-61 Link Here
56
	# Don't build with -mfpmath=sse (Bug #14920)
62
	# Don't build with -mfpmath=sse (Bug #14920)
57
	filter-mfpmath sse
63
	filter-mfpmath sse
58
	filter-flags -maltivec -mabi=altivec -fforce-addr -momit-leaf-frame-pointer
64
	filter-flags -maltivec -mabi=altivec -fforce-addr -momit-leaf-frame-pointer
65
	
59
	# BREG error with -fPIC
66
	# BREG error with -fPIC
60
	# ---
67
	# ---
61
	# really ? no on amd64, and we need -fPIC.
68
	# really ? no on amd64, and we need -fPIC.

Return to bug 49457