summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-20 01:36:08 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-20 01:36:08 +0000
commite9225422409cd863bbaa7ab904eb5d120cb7242d (patch)
tree79ef1046145341f76ae88d2c6355fa63cd76fafc /sys-apps
parentalso apply LDFLAGS to libs (diff)
downloadgentoo-2-e9225422409cd863bbaa7ab904eb5d120cb7242d.tar.gz
gentoo-2-e9225422409cd863bbaa7ab904eb5d120cb7242d.tar.bz2
gentoo-2-e9225422409cd863bbaa7ab904eb5d120cb7242d.zip
Respect user LDFLAGS #126825 by Diego Pettenò.
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/acl/ChangeLog6
-rw-r--r--sys-apps/acl/acl-2.2.34.ebuild3
-rw-r--r--sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch26
3 files changed, 33 insertions, 2 deletions
diff --git a/sys-apps/acl/ChangeLog b/sys-apps/acl/ChangeLog
index fae00aa86799..0b76cda6544d 100644
--- a/sys-apps/acl/ChangeLog
+++ b/sys-apps/acl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/acl
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.52 2006/02/19 21:51:18 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.53 2006/04/20 01:36:08 vapier Exp $
+
+ 20 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/acl-2.2.34-LDFLAGS.patch, acl-2.2.34.ebuild:
+ Respect user LDFLAGS #126825 by Diego Pettenò.
19 Feb 2006; Joshua Kinard <kumba@gentoo.org> acl-2.2.32.ebuild:
Marked stable on mips.
diff --git a/sys-apps/acl/acl-2.2.34.ebuild b/sys-apps/acl/acl-2.2.34.ebuild
index ac0b758e0302..08104dc3b23f 100644
--- a/sys-apps/acl/acl-2.2.34.ebuild
+++ b/sys-apps/acl/acl-2.2.34.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.34.ebuild,v 1.1 2006/01/27 00:58:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.34.ebuild,v 1.2 2006/04/20 01:36:08 vapier Exp $
inherit eutils
@@ -23,6 +23,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch #126825
sed -i \
-e "/^PKG_DOC_DIR/s:=.*:= /usr/share/doc/${PF}:" \
include/builddefs.in \
diff --git a/sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch b/sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch
new file mode 100644
index 000000000000..9ed5d29bbf2f
--- /dev/null
+++ b/sys-apps/acl/files/acl-2.2.34-LDFLAGS.patch
@@ -0,0 +1,26 @@
+Respect user LDFLAGS
+
+http://bugs.gentoo.org/126825
+
+--- include/buildmacros
++++ include/buildmacros
+@@ -9,7 +9,8 @@
+ # $(CXXFILES), or $(HFILES) and is used to construct the manifest list
+ # during the "dist" phase (packaging).
+
+-LDFLAGS = $(LLDFLAGS)
++LDFLAGS += $(LDFLAGS_OPT) $(LLDFLAGS)
++LTLDFLAGS += $(LDFLAGS_OPT)
+ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
+
+ MAKEOPTS = --no-print-directory
+--- include/builddefs.in
++++ include/builddefs.in
+@@ -9,6 +9,7 @@
+
+ DEBUG = @debug_build@
+ OPTIMIZER = @opt_build@
++LDFLAGS_OPT = @LDFLAGS@
+ MALLOCLIB = @malloc_lib@
+
+ LIBATTR = $(TOPDIR)/libattr/libattr.la