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

(-)svgalib-1.9.25-r1.ebuild (-4 / +4 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
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: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.25-r1.ebuild,v 1.4 2011/10/03 17:01:40 mr_bones_ Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.25-r1.ebuild,v 1.4 2011/10/03 17:01:40 mr_bones_ Exp $
4
4
Lines 50-56 Link Here
50
	# Missing in some cases ...
50
	# Missing in some cases ...
51
	ln -s libvga.so.${PV} sharedlib/libvga.so
51
	ln -s libvga.so.${PV} sharedlib/libvga.so
52
	# Build lrmi and tools ...
52
	# Build lrmi and tools ...
53
	emake OPTIMIZE="${CFLAGS}" LDFLAGS="-L../sharedlib" \
53
	emake OPTIMIZE="${CFLAGS}" LDFLAGS+=" -L../sharedlib" \
54
		textutils lrmi utils \
54
		textutils lrmi utils \
55
		|| die "Failed to build libraries and utils!"
55
		|| die "Failed to build libraries and utils!"
56
	# Build the gl stuff tpp
56
	# Build the gl stuff tpp
Lines 63-72 Link Here
63
		|| die "Failed to build libvga.so.${PV}!"
63
		|| die "Failed to build libvga.so.${PV}!"
64
	cp -pPR src/libvga.so.${PV} sharedlib/
64
	cp -pPR src/libvga.so.${PV} sharedlib/
65
	# Build threeDKit ...
65
	# Build threeDKit ...
66
	emake OPTIMIZE="${CFLAGS}" LDFLAGS='-L../sharedlib' \
66
	emake OPTIMIZE="${CFLAGS}" LDFLAGS+=" -L../sharedlib" \
67
		-C threeDKit lib3dkit.a || die "Failed to build threeDKit!"
67
		-C threeDKit lib3dkit.a || die "Failed to build threeDKit!"
68
	# Build demo's ...
68
	# Build demo's ...
69
	emake OPTIMIZE="${CFLAGS} -I../gl" LDFLAGS='-L../sharedlib' \
69
	emake OPTIMIZE="${CFLAGS} -I../gl" LDFLAGS+=" -L../sharedlib" \
70
		demoprogs || die "Failed to build demoprogs!"
70
		demoprogs || die "Failed to build demoprogs!"
71
71
72
	! use build && use kernel-helper && linux-mod_src_compile
72
	! use build && use kernel-helper && linux-mod_src_compile

Return to bug 405411