summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-02-19 17:11:14 +0000
committerChristoph Mende <angelos@gentoo.org>2011-02-19 17:11:14 +0000
commit4a763d46cec83bad76f6b83c093fd5c5a2976b6b (patch)
tree25c49c144de2d19a05a1f78e6c6a6e6bfb25967d /dev-cpp
parentDelete older ebuild. (diff)
downloadgentoo-2-4a763d46cec83bad76f6b83c093fd5c5a2976b6b.tar.gz
gentoo-2-4a763d46cec83bad76f6b83c093fd5c5a2976b6b.tar.bz2
gentoo-2-4a763d46cec83bad76f6b83c093fd5c5a2976b6b.zip
Respect LDFLAGS (bug #335545)
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libassa/ChangeLog8
-rw-r--r--dev-cpp/libassa/files/libassa-3.5.0-ldflags.patch13
-rw-r--r--dev-cpp/libassa/libassa-3.5.0.ebuild7
3 files changed, 23 insertions, 5 deletions
diff --git a/dev-cpp/libassa/ChangeLog b/dev-cpp/libassa/ChangeLog
index b7ee78e66cb6..7943e31c50e1 100644
--- a/dev-cpp/libassa/ChangeLog
+++ b/dev-cpp/libassa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/libassa
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/ChangeLog,v 1.10 2010/05/28 15:16:46 angelos Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/ChangeLog,v 1.11 2011/02/19 17:11:13 angelos Exp $
+
+ 19 Feb 2011; <angelos@gentoo.org> libassa-3.5.0.ebuild,
+ +files/libassa-3.5.0-ldflags.patch:
+ Respect LDFLAGS (bug #335545)
28 May 2010; Christoph Mende <angelos@gentoo.org> libassa-3.5.0.ebuild,
+files/libassa-3.5.0-fix-tests.patch:
diff --git a/dev-cpp/libassa/files/libassa-3.5.0-ldflags.patch b/dev-cpp/libassa/files/libassa-3.5.0-ldflags.patch
new file mode 100644
index 000000000000..22a65c1ea8dc
--- /dev/null
+++ b/dev-cpp/libassa/files/libassa-3.5.0-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/utils/Makefile.am b/utils/Makefile.am
+index 3d95d22..82c2345 100644
+--- a/utils/Makefile.am
++++ b/utils/Makefile.am
+@@ -15,7 +15,7 @@ noinst_PROGRAMS = bytereader
+ ASSADIR = ${top_srcdir}/assa
+ INCLUDES = -I$(top_srcdir)
+
+-LDFLAGS = -static
++LDFLAGS += -static
+ LDADD = $(top_builddir)/assa/libassa-@ASSA_RELEASE@.la @WIN32_EXTRA_LIBADD@
+
+ bytereader_SOURCES = bytereader.cpp
diff --git a/dev-cpp/libassa/libassa-3.5.0.ebuild b/dev-cpp/libassa/libassa-3.5.0.ebuild
index 7f07de2796f3..0296ab1b9275 100644
--- a/dev-cpp/libassa/libassa-3.5.0.ebuild
+++ b/dev-cpp/libassa/libassa-3.5.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/libassa-3.5.0.ebuild,v 1.7 2010/05/28 15:16:46 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libassa/libassa-3.5.0.ebuild,v 1.8 2011/02/19 17:11:13 angelos Exp $
EAPI=2
inherit autotools eutils
@@ -17,7 +17,8 @@ IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc44.patch \
"${FILESDIR}"/${P}-dont-run-ldconfig.patch \
- "${FILESDIR}"/${P}-fix-tests.patch
+ "${FILESDIR}"/${P}-fix-tests.patch \
+ "${FILESDIR}"/${P}-ldflags.patch
AT_M4DIR="${S}/macros"
eautoreconf
}