diff options
author | Dawid Węgliński <cla@gentoo.org> | 2010-09-27 11:26:55 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2010-09-27 11:26:55 +0000 |
commit | 1f23aac8419d34a44aa8268e84b0b8cf1aa67999 (patch) | |
tree | 8b220f92e16f56dbce14f58c645cf1360342dfc1 /sys-cluster | |
parent | Added ~arm keyword (diff) | |
download | historical-1f23aac8419d34a44aa8268e84b0b8cf1aa67999.tar.gz historical-1f23aac8419d34a44aa8268e84b0b8cf1aa67999.tar.bz2 historical-1f23aac8419d34a44aa8268e84b0b8cf1aa67999.zip |
Respect user defined LDFLAGS (bug #337925)
Package-Manager: portage-2.2_rc78/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/fake/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/fake/Manifest | 5 | ||||
-rw-r--r-- | sys-cluster/fake/fake-1.1.10.ebuild | 15 | ||||
-rw-r--r-- | sys-cluster/fake/files/fix-ldflags.patch | 12 |
4 files changed, 32 insertions, 6 deletions
diff --git a/sys-cluster/fake/ChangeLog b/sys-cluster/fake/ChangeLog index 432214ba04cb..b46b6872cf4a 100644 --- a/sys-cluster/fake/ChangeLog +++ b/sys-cluster/fake/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/fake # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fake/ChangeLog,v 1.11 2010/09/11 14:21:32 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fake/ChangeLog,v 1.12 2010/09/27 11:26:55 cla Exp $ + + 27 Sep 2010; Dawid Węgliński <cla@gentoo.org> fake-1.1.10.ebuild, + +files/fix-ldflags.patch: + Respect user defined LDFLAGS (bug #337925) 11 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml: Drop useles maintainer line diff --git a/sys-cluster/fake/Manifest b/sys-cluster/fake/Manifest index 47d624452071..895ba3d28896 100644 --- a/sys-cluster/fake/Manifest +++ b/sys-cluster/fake/Manifest @@ -1,4 +1,5 @@ +AUX fix-ldflags.patch 364 RMD160 1f5ec8614a75836ba3b1fabb32baead75cb4f83e SHA1 232b6e01294e8aea18e81b97f68c4b2991909378 SHA256 f8532159815c2972368d7bf962b263626614b15cb9708931c2e48d1ee087b4d4 DIST fake-1.1.10.tar.gz 137697 RMD160 834dc14b21f10dd48310b109f4bafacbee9fa847 SHA1 f47d1aebfda7d837ad727151ce9453eae9e8128e SHA256 1524651fe54f94aac5b3553a90d2255097862f41258f98873bb2768ad20ca676 -EBUILD fake-1.1.10.ebuild 762 RMD160 e682030fdb6b0bac58db2468a4a23f8592a6dae7 SHA1 24c1c59dafa68680412510ea12c29dd4c54a7f3b SHA256 7e90223bfe0ab822f9e3233667729d4ea4d992b3f006e8f3b908e507926cbf2e -MISC ChangeLog 1481 RMD160 b66115d42f3af069c7c8afa045c149acf30e64dd SHA1 266447176b0edfc0e1537fef76efdda085a1141a SHA256 5945345a7c979af6d3ee9d0c6c63b262c3998a163a4573dcb98ec1adcbc22bed +EBUILD fake-1.1.10.ebuild 867 RMD160 e1fe5593b28470d22a8fb0970bec307ddc4333cb SHA1 6ca10b0e6ee06542ca4cb8d60d78f609ec1f961b SHA256 8f602704566a769be4e48d86b66fcb8347e3c7642184a16d125347a8a238100a +MISC ChangeLog 1619 RMD160 6873eec61d370ad1622d605857149c095d09ee30 SHA1 aa5a32d59eab8d0be74be3bf5bda91b55289d3f3 SHA256 636d2fa1f6b25d743ebfa2e5415176d530cf4cec09e2f4152d3b7aa0a2814df7 MISC metadata.xml 617 RMD160 3e1b318c2dc1ffc8470cd6df00f4e721f090bead SHA1 e9eaca72a1d10cfaa2e57769d7a526a78281303f SHA256 767c56d703a71a81c160ceba7d8720203677bd1193885801db7c63592490e5cc diff --git a/sys-cluster/fake/fake-1.1.10.ebuild b/sys-cluster/fake/fake-1.1.10.ebuild index f4d087107df2..dd34fbe297e0 100644 --- a/sys-cluster/fake/fake-1.1.10.ebuild +++ b/sys-cluster/fake/fake-1.1.10.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fake/fake-1.1.10.ebuild,v 1.5 2008/12/06 18:01:04 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fake/fake-1.1.10.ebuild,v 1.6 2010/09/27 11:26:55 cla Exp $ + +inherit eutils DESCRIPTION="Fake has been designed to switch in backup servers on a LAN." SRC_URI="http://www.vergenet.net/linux/${PN}/download/${PV}/${P}.tar.gz" @@ -12,6 +14,13 @@ LICENSE="GPL-2" IUSE="" DEPEND="" +RDEPEND="${DEPEND}" + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/fix-ldflags.patch" +} src_compile(){ make patch || die "patching failed" @@ -24,5 +33,5 @@ src_install(){ MAN8_DIR="${D}/usr/share/man/man8" \ DOC_DIR="${D}/usr/share/doc/${P}" \ install || die "install failed" - dodoc AUTHORS ChangeLog COPYING README docs/* + dodoc AUTHORS ChangeLog README docs/* } diff --git a/sys-cluster/fake/files/fix-ldflags.patch b/sys-cluster/fake/files/fix-ldflags.patch new file mode 100644 index 000000000000..e788b18c6452 --- /dev/null +++ b/sys-cluster/fake/files/fix-ldflags.patch @@ -0,0 +1,12 @@ +diff -Naur fake-1.1.10.old/send_arp.patch fake-1.1.10/send_arp.patch +--- fake-1.1.10.old/send_arp.patch 2002-10-21 08:06:12.000000000 +0200 ++++ fake-1.1.10/send_arp.patch 2010-09-27 13:17:02.000000000 +0200 +@@ -29,7 +29,7 @@ + +all: $(BIN) + + + +$(BIN): $(SRC) +-+ $(CC) $(SRC) -o $(BIN) +++ $(CC) $(LDFLAGS) $(SRC) -o $(BIN) + + + +clean: + + rm -f $(BIN) core $(SRC).* |