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

(-)transcode-0.6.12-r1.ebuild (-2 / +13 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
	
42
	if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
43
	then
41
	unpack ${A}
44
	unpack ${A}
42
	cd ${S}
45
	cd ${S}
43
	epatch ${FILESDIR}/transcode-gcc34.patch
46
	epatch ${FILESDIR}/transcode-gcc34.patch
44
47
    fi
48
	
45
	if has_version  '>=media-libs/netpbm-9.13'
49
	if has_version  '>=media-libs/netpbm-9.13'
46
	then
50
	then
47
		einfo "New netbpm (>9.12)..."
51
		einfo "New netbpm (>9.12)..."
Lines 56-61 Link Here
56
	# Don't build with -mfpmath=sse (Bug #14920)
60
	# Don't build with -mfpmath=sse (Bug #14920)
57
	filter-mfpmath sse
61
	filter-mfpmath sse
58
	filter-flags -maltivec -mabi=altivec -fforce-addr -momit-leaf-frame-pointer
62
	filter-flags -maltivec -mabi=altivec -fforce-addr -momit-leaf-frame-pointer
63
	
64
	if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
65
	then
66
	#add -fno-unit-at-a-time to allow transcode to build
67
	CFLAGS=${CFLAGS}' -fno-unit-at-a-time'
68
	fi
69
	
59
	# BREG error with -fPIC
70
	# BREG error with -fPIC
60
	# ---
71
	# ---
61
	# really ? no on amd64, and we need -fPIC.
72
	# really ? no on amd64, and we need -fPIC.

Return to bug 49457