diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-08-11 10:22:11 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-08-11 10:22:11 +0000 |
commit | 070baea60b434a8a9ce6ab8821645d505840eaf2 (patch) | |
tree | 76af2a7ef3835904cc7927b0ef65e71e4bafb6f9 /dev-libs | |
parent | Stable on amd64 wrt bug #332193 (diff) | |
download | gentoo-2-070baea60b434a8a9ce6ab8821645d505840eaf2.tar.gz gentoo-2-070baea60b434a8a9ce6ab8821645d505840eaf2.tar.bz2 gentoo-2-070baea60b434a8a9ce6ab8821645d505840eaf2.zip |
Respect CC,CFLAGS,LDFLAGS. Bug #331849. Thanks to Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org> for reporting
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/luaevent-prosody/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-libs/luaevent-prosody/ChangeLog b/dev-libs/luaevent-prosody/ChangeLog index c3094f9aecc7..7169a63fc7b3 100644 --- a/dev-libs/luaevent-prosody/ChangeLog +++ b/dev-libs/luaevent-prosody/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/luaevent-prosody # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/luaevent-prosody/ChangeLog,v 1.2 2010/07/13 12:50:28 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/luaevent-prosody/ChangeLog,v 1.3 2010/08/11 10:22:11 hwoarang Exp $ + + 11 Aug 2010; Markos Chandras <hwoarang@gentoo.org> + luaevent-prosody-0.1.1.ebuild: + Respect CC,CFLAGS,LDFLAGS. Bug #331849. Thanks to Diego E. 'Flameeyes' + Pettenò <flameeyes@gentoo.org> for reporting 13 Jul 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> metadata.xml: diff --git a/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild b/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild index 0dc200d40ae6..e48170d7472d 100644 --- a/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild +++ b/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild,v 1.1 2010/07/12 07:50:53 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/luaevent-prosody/luaevent-prosody-0.1.1.ebuild,v 1.2 2010/08/11 10:22:11 hwoarang Exp $ EAPI=2 @@ -31,7 +31,8 @@ src_prepare() { src_compile() { append-flags -fPIC -c emake \ - CFLAGS="${CFLAGS}" \ + CFLAGS="${LDFLAGS} ${CFLAGS}" \ + LDFLAGS="${LDFLAGS} -shared" \ CC="$(tc-getCC)" \ LD="$(tc-getCC) -shared" \ all \ @@ -39,5 +40,9 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install || die "Install failed" + emake \ + CFLAGS="${LDFLAGS} ${CFLAGS}" \ + LDFLAGS="${LDFLAGS} -shared" \ + CC="$(tc-getCC)" \ + DESTDIR="${D}" install || die "Install failed" } |