summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-16 04:56:31 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-16 04:56:31 +0000
commit6462bbe18968c8764f3682fcc932bfc95a7e3283 (patch)
tree6ddf52b1dd7f94368668891e3b8eff2022693a59 /media-libs/svgalib
parentResurrected (diff)
downloadgentoo-2-6462bbe18968c8764f3682fcc932bfc95a7e3283.tar.gz
gentoo-2-6462bbe18968c8764f3682fcc932bfc95a7e3283.tar.bz2
gentoo-2-6462bbe18968c8764f3682fcc932bfc95a7e3283.zip
Fix the buildcsr demo target to use the correct linking flags #71194.
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r--media-libs/svgalib/ChangeLog5
-rw-r--r--media-libs/svgalib/svgalib-1.9.19-r1.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog
index 098004d1653a..f8f2c989f2e2 100644
--- a/media-libs/svgalib/ChangeLog
+++ b/media-libs/svgalib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/svgalib
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.49 2004/11/08 05:42:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.50 2004/11/16 04:56:31 vapier Exp $
+
+ 15 Nov 2004; Mike Frysinger <vapier@gentoo.org> svgalib-1.9.19-r1.ebuild:
+ Fix the buildcsr demo target to use the correct linking flags #71194.
08 Nov 2004; Mike Frysinger <vapier@gentoo.org>
+files/svgalib-1.9.19-pci-get-class.patch, svgalib-1.9.19-r1.ebuild:
diff --git a/media-libs/svgalib/svgalib-1.9.19-r1.ebuild b/media-libs/svgalib/svgalib-1.9.19-r1.ebuild
index d4fa66eb5314..75fa4141cc04 100644
--- a/media-libs/svgalib/svgalib-1.9.19-r1.ebuild
+++ b/media-libs/svgalib/svgalib-1.9.19-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.19-r1.ebuild,v 1.5 2004/11/08 05:42:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.19-r1.ebuild,v 1.6 2004/11/16 04:56:31 vapier Exp $
-inherit eutils flag-o-matic kernel-mod
+inherit eutils flag-o-matic toolchain-funcs kernel-mod
DESCRIPTION="A library for running svga graphics on the console"
HOMEPAGE="http://www.svgalib.org/"
@@ -43,10 +43,14 @@ src_unpack() {
# PCI functions have been renamed with newer kernels #69580
epatch ${FILESDIR}/${P}-pci-get-class.patch
+
+ # Link like the other packages
+ sed -i 's:$(FLAGS):$(CFLAGS) $(LDFLAGS):' demos/Makefile || die
}
src_compile() {
filter-flags -fPIC
+ export CC="$(tc-getCC)"
# First build static
make OPTIMIZE="${CFLAGS}" static || die "Failed to build static libraries!"