summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2010-05-26 19:47:26 +0000
committerChristoph Mende <angelos@gentoo.org>2010-05-26 19:47:26 +0000
commit11bdc09dc0e731cd06c05a544f536e0c931a55c4 (patch)
tree11f9ccc1723df74851b4bcd8eb3567050e2307fb /net-misc/asterisk-chan_unistim
parentstable amd64, bug 318533 (diff)
downloadgentoo-2-11bdc09dc0e731cd06c05a544f536e0c931a55c4.tar.gz
gentoo-2-11bdc09dc0e731cd06c05a544f536e0c931a55c4.tar.bz2
gentoo-2-11bdc09dc0e731cd06c05a544f536e0c931a55c4.zip
Added ~amd64 (bug 171863) and respect LDFLAGS
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/asterisk-chan_unistim')
-rw-r--r--net-misc/asterisk-chan_unistim/ChangeLog8
-rw-r--r--net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild8
2 files changed, 11 insertions, 5 deletions
diff --git a/net-misc/asterisk-chan_unistim/ChangeLog b/net-misc/asterisk-chan_unistim/ChangeLog
index 930eb3d4315d..05ff3446275a 100644
--- a/net-misc/asterisk-chan_unistim/ChangeLog
+++ b/net-misc/asterisk-chan_unistim/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/asterisk-chan_unistim
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/ChangeLog,v 1.10 2009/07/07 15:18:54 volkmar Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/ChangeLog,v 1.11 2010/05/26 19:47:26 angelos Exp $
+
+ 26 May 2010; Christoph Mende <angelos@gentoo.org>
+ asterisk-chan_unistim-1.0.0.4d.ebuild:
+ Added ~amd64 (bug 171863) and respect LDFLAGS
*asterisk-chan_unistim-1.0.0.4d (07 Jul 2009)
diff --git a/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild b/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild
index ecc98fb83f89..ff7e59639ccf 100644
--- a/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild
+++ b/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild,v 1.1 2009/07/07 15:18:54 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-1.0.0.4d.ebuild,v 1.2 2010/05/26 19:47:26 angelos Exp $
EAPI="2"
@@ -15,7 +15,7 @@ SRC_URI="http://mlkj.net/asterisk/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="=net-misc/asterisk-1.2*"
@@ -29,6 +29,8 @@ src_prepare() {
# respect users C(XX)FLAGS
sed -i -e "s:^CFLAGS=:CFLAGS+=:" -e "/O6/d" -e "/march/d" Makefile \
|| die "sed failed"
+ # respect users LDFLAGS
+ sed -i -e "s:-shared:${LDFLAGS} -shared:" Makefile || die "sed failed"
# better to let -pipe as user choice and add -fPIC
sed -i -e "s:pipe:fPIC:" Makefile || die "sed failed"
}