summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 10:23:38 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 10:23:38 +0000
commit3ef97a85177a56a1b960b1cebefb5f48790e3ecd (patch)
treeffc6005fc87b47efdf52751d9ddfd444318ad438 /sys-apps
parentRewrite patches to not require autotools since we need gcc-4.x to DEPEND on gmp. (diff)
downloadhistorical-3ef97a85177a56a1b960b1cebefb5f48790e3ecd.tar.gz
historical-3ef97a85177a56a1b960b1cebefb5f48790e3ecd.tar.bz2
historical-3ef97a85177a56a1b960b1cebefb5f48790e3ecd.zip
Fix building with LDFLAGS.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/kexec-tools/ChangeLog6
-rw-r--r--sys-apps/kexec-tools/Manifest15
-rw-r--r--sys-apps/kexec-tools/files/kexec-tools-1.101-LDFLAGS.patch11
-rw-r--r--sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild14
4 files changed, 40 insertions, 6 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog
index 1358e6fcd027..55a7fd2495b4 100644
--- a/sys-apps/kexec-tools/ChangeLog
+++ b/sys-apps/kexec-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/kexec-tools
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.5 2006/01/20 20:39:09 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.6 2006/01/29 10:23:38 vapier Exp $
+
+ 29 Jan 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/kexec-tools-1.101-LDFLAGS.patch, kexec-tools-1.101-r1.ebuild:
+ Fix building with LDFLAGS.
*kexec-tools-1.101-r1 (20 Jan 2006)
diff --git a/sys-apps/kexec-tools/Manifest b/sys-apps/kexec-tools/Manifest
index 6225cbe0a476..8cd46edc4eb9 100644
--- a/sys-apps/kexec-tools/Manifest
+++ b/sys-apps/kexec-tools/Manifest
@@ -1,10 +1,21 @@
-MD5 8162106b3e5c1cb71e903c77a1217dff ChangeLog 1478
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 3ef4a78ca6d8d45f9d54fdc5236411bb ChangeLog 1628
MD5 3346c0b5fcc5f5974c6edb1a43acec3e files/digest-kexec-tools-1.100-r1 69
MD5 66fbf8cb76d68e3bc10effd7fec63974 files/digest-kexec-tools-1.101 69
MD5 66fbf8cb76d68e3bc10effd7fec63974 files/digest-kexec-tools-1.101-r1 69
+MD5 df309b1ada2cd833888ea0227e414c8a files/kexec-tools-1.101-LDFLAGS.patch 361
MD5 d6017250a94f6bd50a9744694b02da7f files/kexec.conf 292
MD5 a7abfebdf076007dc64c9959610551d1 files/kexec.init 1293
MD5 5ccd33e89ab18e2a83476d6a60fa9030 kexec-tools-1.100-r1.ebuild 692
-MD5 aefa997a0e05affc7e1327d9b73948c6 kexec-tools-1.101-r1.ebuild 699
+MD5 0e30d46353f99135c7327e3505e456f0 kexec-tools-1.101-r1.ebuild 801
MD5 905c6adbdbf88509d95c342774b3b931 kexec-tools-1.101.ebuild 694
MD5 6e89ba8198764bfd079a0cfa18dca593 metadata.xml 264
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFD3JfD2+ySkm8kpY0RArxoAKCpYlkW42nyjtf//Ocqo6jpXCd2OgCgt6F6
+I3bIHNpOdPkTxPALWOGo/FA=
+=f6FC
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/kexec-tools/files/kexec-tools-1.101-LDFLAGS.patch b/sys-apps/kexec-tools/files/kexec-tools-1.101-LDFLAGS.patch
new file mode 100644
index 000000000000..c17b3af5ace2
--- /dev/null
+++ b/sys-apps/kexec-tools/files/kexec-tools-1.101-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- purgatory/Makefile
++++ purgatory/Makefile
+@@ -54,7 +54,7 @@
+
+ $(PURGATORY): $(PURGATORY_OBJS) $(UTIL_LIB)
+ $(MKDIR) -p $(@D)
+- $(LD) $(LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
++ $(LD) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
+
+ echo::
+ @echo "PURGATORY_C_SRCS $(PURGATORY_C_SRCS)"
diff --git a/sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild b/sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild
index 04b74a90e134..38867bea80c6 100644
--- a/sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild,v 1.1 2006/01/20 20:39:09 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-1.101-r1.ebuild,v 1.2 2006/01/29 10:23:38 vapier Exp $
+
+inherit eutils
DESCRIPTION="Load another kernel from the currently executing Linux kernel"
HOMEPAGE="http://www.xmission.com/~ebiederm/files/kexec/"
@@ -11,12 +13,18 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+}
+
src_install() {
into /
dosbin objdir*/build/sbin/kexec || die "dosbin failed"
doman kexec/kexec.8
dodoc News AUTHORS TODO
- newinitd ${FILESDIR}/kexec.init kexec
- newconfd ${FILESDIR}/kexec.conf kexec
+ newinitd "${FILESDIR}"/kexec.init kexec
+ newconfd "${FILESDIR}"/kexec.conf kexec
}