Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 52385
Collapse All | Expand All

(-)libmatroska-0.7.0.ebuild (-2 / +8 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-libs/libmatroska/libmatroska-0.7.0.ebuild,v 1.3 2004/05/27 19:16:51 avenj Exp $
3
# $Header: /home/cvsroot/gentoo-x86/media-libs/libmatroska/libmatroska-0.7.0.ebuild,v 1.3 2004/05/27 19:16:51 avenj Exp $
4
4
5
inherit flag-o-matic
5
inherit flag-o-matic gcc
6
6
7
IUSE=""
7
IUSE=""
8
8
Lines 21-33 Link Here
21
21
22
src_compile() {
22
src_compile() {
23
	cd ${S}/make/linux
23
	cd ${S}/make/linux
24
25
	# This is needed on amd64 to create shared libraries that make
24
	# This is needed on amd64 to create shared libraries that make
26
	# use of matroska, like libvlcplugin from vlc.
25
	# use of matroska, like libvlcplugin from vlc.
27
	# Travis Tilley <lv@gentoo.org> 09 Apr 2004
26
	# Travis Tilley <lv@gentoo.org> 09 Apr 2004
28
	use amd64 && append-flags -fPIC
27
	use amd64 && append-flags -fPIC
29
28
30
	sed -i -e 's/CXXFLAGS=/CXXFLAGS+=/g' Makefile
29
	sed -i -e 's/CXXFLAGS=/CXXFLAGS+=/g' Makefile
30
    
31
	  #fixes locale for gcc3.4.0 to close bug 52385
32
    if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
33
    then
34
    append-flags -finput-charset=ISO8859-15
35
    fi
36
   
31
	make PREFIX=/usr \
37
	make PREFIX=/usr \
32
		LIBEBML_INCLUDE_DIR=/usr/include/ebml \
38
		LIBEBML_INCLUDE_DIR=/usr/include/ebml \
33
		LIBEBML_LIB_DIR=/usr/lib || die "make failed"
39
		LIBEBML_LIB_DIR=/usr/lib || die "make failed"

Return to bug 52385