summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-20 01:24:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-20 01:24:26 +0000
commit19d1388761733a0e9e2f4b0d2c17cd92e1d2ab66 (patch)
treedcb8744cb0b1e9b3d1792e0a0decb05475b8bc8b /sys-apps/attr
parentMarking stable on x86 because of bug #128264 and removing the older version. (diff)
downloadgentoo-2-19d1388761733a0e9e2f4b0d2c17cd92e1d2ab66.tar.gz
gentoo-2-19d1388761733a0e9e2f4b0d2c17cd92e1d2ab66.tar.bz2
gentoo-2-19d1388761733a0e9e2f4b0d2c17cd92e1d2ab66.zip
Respect user LDFLAGS #126825 by Diego Pettenò.
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-apps/attr')
-rw-r--r--sys-apps/attr/ChangeLog6
-rw-r--r--sys-apps/attr/attr-2.4.28-r1.ebuild3
-rw-r--r--sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch25
3 files changed, 32 insertions, 2 deletions
diff --git a/sys-apps/attr/ChangeLog b/sys-apps/attr/ChangeLog
index d1c2797f4ed6..19d075361091 100644
--- a/sys-apps/attr/ChangeLog
+++ b/sys-apps/attr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/attr
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.61 2006/04/01 05:11:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.62 2006/04/20 01:24:26 vapier Exp $
+
+ 20 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/attr-2.4.28-LDFLAGS.patch, attr-2.4.28-r1.ebuild:
+ Respect user LDFLAGS #126825 by Diego Pettenò.
01 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+files/attr-2.4.28-no-compress-docs.patch, attr-2.4.28-r1.ebuild:
diff --git a/sys-apps/attr/attr-2.4.28-r1.ebuild b/sys-apps/attr/attr-2.4.28-r1.ebuild
index 9815279819de..5743809b12db 100644
--- a/sys-apps/attr/attr-2.4.28-r1.ebuild
+++ b/sys-apps/attr/attr-2.4.28-r1.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/attr/attr-2.4.28-r1.ebuild,v 1.2 2006/04/01 05:11:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.28-r1.ebuild,v 1.3 2006/04/20 01:24:26 vapier Exp $
inherit eutils
@@ -25,6 +25,7 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
epatch "${FILESDIR}"/${P}-list-compat-segv.patch #127547
epatch "${FILESDIR}"/${P}-no-compress-docs.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/attr/files/attr-2.4.28-LDFLAGS.patch b/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch
new file mode 100644
index 000000000000..b46efa5e60b4
--- /dev/null
+++ b/sys-apps/attr/files/attr-2.4.28-LDFLAGS.patch
@@ -0,0 +1,25 @@
+Respect user LDFLAGS
+
+http://bugs.gentoo.org/126825
+
+--- include/buildmacros
++++ include/buildmacros
+@@ -9,7 +9,7 @@
+ # $(CXXFILES), or $(HFILES) and is used to construct the manifest list
+ # during the "dist" phase (packaging).
+
+-LDFLAGS = $(LLDFLAGS)
++LDFLAGS += $(LLDFLAGS)
+ 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 = @LDFLAGS@
+ MALLOCLIB = @malloc_lib@
+
+ LIBATTR = $(TOPDIR)/libattr/libattr.la