summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-03 08:31:42 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-03 08:31:42 +0000
commit2251c4b92ef0b4e6b4d328fbd14d78e937ada4ee (patch)
treed738c73a4b170aedb4e974979f7fd3e328aa0be3 /sys-apps/rename
parentChange state of net-misc/ltsp, postpone removal (diff)
downloadgentoo-2-2251c4b92ef0b4e6b4d328fbd14d78e937ada4ee.tar.gz
gentoo-2-2251c4b92ef0b4e6b4d328fbd14d78e937ada4ee.tar.bz2
gentoo-2-2251c4b92ef0b4e6b4d328fbd14d78e937ada4ee.zip
Respect user LDFLAGS.
(Portage version: 2.1.2_rc4-r3)
Diffstat (limited to 'sys-apps/rename')
-rw-r--r--sys-apps/rename/ChangeLog8
-rw-r--r--sys-apps/rename/files/rename-1.3-build.patch11
-rw-r--r--sys-apps/rename/rename-1.3.ebuild5
3 files changed, 20 insertions, 4 deletions
diff --git a/sys-apps/rename/ChangeLog b/sys-apps/rename/ChangeLog
index 073f362ad89e..215dca98f2b8 100644
--- a/sys-apps/rename/ChangeLog
+++ b/sys-apps/rename/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/rename
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/ChangeLog,v 1.13 2006/11/30 03:33:40 jer Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/ChangeLog,v 1.14 2007/01/03 08:31:42 vapier Exp $
+
+ 03 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/rename-1.3-build.patch, rename-1.3.ebuild:
+ Respect user LDFLAGS.
30 Nov 2006; Jeroen Roovers <jer@gentoo.org> rename-1.3.ebuild:
Stable for HPPA.
diff --git a/sys-apps/rename/files/rename-1.3-build.patch b/sys-apps/rename/files/rename-1.3-build.patch
new file mode 100644
index 000000000000..942a2c142159
--- /dev/null
+++ b/sys-apps/rename/files/rename-1.3-build.patch
@@ -0,0 +1,11 @@
+--- Makefile.in
++++ Makefile.in
+@@ -16,7 +16,7 @@
+ all: rename
+
+ rename: $(OBJS)
+- $(CC) $(CFLAGS) -o $@ $^
++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+
+ static: $(OBJS)
diff --git a/sys-apps/rename/rename-1.3.ebuild b/sys-apps/rename/rename-1.3.ebuild
index 4974f0481488..69929426cda5 100644
--- a/sys-apps/rename/rename-1.3.ebuild
+++ b/sys-apps/rename/rename-1.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/rename-1.3.ebuild,v 1.17 2006/11/30 03:33:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/rename-1.3.ebuild,v 1.18 2007/01/03 08:31:42 vapier Exp $
inherit toolchain-funcs eutils
@@ -21,6 +21,7 @@ src_unpack() {
-e '/strip /s:.*::' \
Makefile.in
epatch "${FILESDIR}"/${P}-rename.patch
+ epatch "${FILESDIR}"/${P}-build.patch
tc-export CC
}