From 42679e1d30147aef9c9581fd84e382ac0b658a85 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 30 Sep 2005 15:33:23 +0000 Subject: Respect user-defined CXXFLAGS. Package-Manager: portage-2.0.52-r1 --- media-libs/ladspa-cmt/ChangeLog | 5 ++++- media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'media-libs/ladspa-cmt') diff --git a/media-libs/ladspa-cmt/ChangeLog b/media-libs/ladspa-cmt/ChangeLog index f6995930b874..78798367b5d3 100644 --- a/media-libs/ladspa-cmt/ChangeLog +++ b/media-libs/ladspa-cmt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/ladspa-cmt # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ChangeLog,v 1.19 2005/05/01 18:24:34 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ChangeLog,v 1.20 2005/09/30 15:32:37 flameeyes Exp $ + + 30 Sep 2005; Diego Pettenò ladspa-cmt-1.15.ebuild: + Respect user-defined CXXFLAGS. 01 May 2005; Michael Hanselmann ladspa-cmt-1.15.ebuild: diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild index 060fcc9af4a6..5cfc22837461 100644 --- a/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild +++ b/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild,v 1.19 2005/08/06 22:25:29 kito Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-cmt/ladspa-cmt-1.15.ebuild,v 1.20 2005/09/30 15:32:37 flameeyes Exp $ inherit eutils @@ -40,7 +40,9 @@ src_unpack() { } src_compile() { - emake || die "emake failed" + # It sets CXXFLAGS to CFLAGS, can be wrong.. + # Just set CXXFLAGS to what they should be + emake CXXFLAGS="$CXXFLAGS -I. -fPIC" || die } src_install() { -- cgit v1.2.3-65-gdbad