summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-09-10 05:00:49 +0000
committerPeter Volkov <pva@gentoo.org>2008-09-10 05:00:49 +0000
commitd171f8ef742461538da2bde3e193a14e85185f2b (patch)
treea23b2d74cad588e2631ca0d829ed165a1613cf3b /dev-libs/libx86
parentRemove mymake="/usr" (diff)
downloadhistorical-d171f8ef742461538da2bde3e193a14e85185f2b.tar.gz
historical-d171f8ef742461538da2bde3e193a14e85185f2b.tar.bz2
historical-d171f8ef742461538da2bde3e193a14e85185f2b.zip
Respect LDFLAGS, bug #236888, thank Olivier Huber for report and fix.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686
Diffstat (limited to 'dev-libs/libx86')
-rw-r--r--dev-libs/libx86/ChangeLog7
-rw-r--r--dev-libs/libx86/Manifest13
-rw-r--r--dev-libs/libx86/libx86-1.1-r1.ebuild34
3 files changed, 42 insertions, 12 deletions
diff --git a/dev-libs/libx86/ChangeLog b/dev-libs/libx86/ChangeLog
index 750f76531a29..3f25408f1ecd 100644
--- a/dev-libs/libx86/ChangeLog
+++ b/dev-libs/libx86/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libx86
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86/ChangeLog,v 1.9 2008/09/06 20:44:56 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86/ChangeLog,v 1.10 2008/09/10 05:00:49 pva Exp $
+
+*libx86-1.1-r1 (10 Sep 2008)
+
+ 10 Sep 2008; Peter Volkov <pva@gentoo.org> +libx86-1.1-r1.ebuild:
+ Respect LDFLAGS, bug #236888, thank Olivier Huber for report and fix.
06 Sep 2008; Ulrich Mueller <ulm@gentoo.org>
+files/libx86-0.99-ifmask.patch, libx86-0.99.ebuild, libx86-1.1.ebuild:
diff --git a/dev-libs/libx86/Manifest b/dev-libs/libx86/Manifest
index 44032a892d42..fc4585c3bd53 100644
--- a/dev-libs/libx86/Manifest
+++ b/dev-libs/libx86/Manifest
@@ -1,18 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX libx86-0.99-build.patch 958 RMD160 f952be3ff8eaf85381bd08a8651d754af36fa5eb SHA1 dea293e7faac65f66381c42702f5ef34ca82d95d SHA256 3371e4309be8d5627d1f54257c4b06db3856a9c6c1d1d975d89a1d7564275ec2
AUX libx86-0.99-ifmask.patch 584 RMD160 38fdece655d2fc25adca01fa2399d45d29abf1f6 SHA1 bd03f2b7112bc46bca539d9c948fae3cb90d9041 SHA256 b8070e57c5d267b3736b133e4c3c92965cc5a62e72466b705b506ad2ce39dd25
DIST libx86-0.99.tar.gz 100534 RMD160 099b4a24842dde578078108ddc7e431402e31727 SHA1 53e44a87dc57a17b2f54fec57d636f577d3c75c1 SHA256 fdaac661dab2845beb5546e43e71ee02d9bf3c04bc623b64e0b124f1da26f546
DIST libx86-1.1.tar.gz 87428 RMD160 8a8c96e9cbe2a73d0a565f086cff231a64dd8ab6 SHA1 c55d8a428ab7f2084010c255aa8c666602544af9 SHA256 5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048
EBUILD libx86-0.99.ebuild 884 RMD160 17480e51237790999c1f808f06399d400414c922 SHA1 8be78ab72e1bb2c15cd48520ab932a573b79f895 SHA256 bd2e77eefbf0377914465e3d9b531acfa32568115706455b6557f1c30ad5cd26
+EBUILD libx86-1.1-r1.ebuild 911 RMD160 d237103ab66e854fba8cef7047db1e3e1be571c1 SHA1 6e0fff5ba772f364cbcf6eb345dd1c1625cc3bb3 SHA256 c5f8bffba6af615c9619f5af06902aa611a65ef5dc42332f80d375ba877163af
EBUILD libx86-1.1.ebuild 823 RMD160 cc7545408a40e9609e8f97297b7d58773da77d4a SHA1 e7ff2f34b51db805ec51b0356789aea5e6ec872e SHA256 3794a7532a8fe118bf74393fd69abb7a5da1c84fc13f2cb906aa83dd098b2ec0
-MISC ChangeLog 1502 RMD160 e4033638680b44ce38621ad06423fb91818b67b5 SHA1 be9b7609f59943d3d5a5b6615976efedc3650d5a SHA256 6cd523dfc6dc872ccf6237a274cfc5829b5281782aeeb1a86fadf8bf413d9c73
+MISC ChangeLog 1674 RMD160 2c3116e061c1de1556f188b0c738879918189b69 SHA1 bb936c1207c1e52440161404be1eb6a82054493f SHA256 cf6dee3db9fc669de2ec7fafe476c78113a180f7552daf3cd9f8d48758d7f815
MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
-
-iEYEARECAAYFAkjC684ACgkQOeoy/oIi7uykQgCgsShBwO747URdjHmwDvr4Y13/
-FfoAoJId8fJ9OntgtpWlP8LLdqNA0qdq
-=Pd9K
------END PGP SIGNATURE-----
diff --git a/dev-libs/libx86/libx86-1.1-r1.ebuild b/dev-libs/libx86/libx86-1.1-r1.ebuild
new file mode 100644
index 000000000000..27471b853b56
--- /dev/null
+++ b/dev-libs/libx86/libx86-1.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libx86/libx86-1.1-r1.ebuild,v 1.1 2008/09/10 05:00:49 pva Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="A hardware-independent library for executing real-mode x86 code"
+HOMEPAGE="http://www.codon.org.uk/~mjg59/libx86"
+SRC_URI="http://www.codon.org.uk/~mjg59/${PN}/downloads/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix compile failure with linux-headers-2.6.26, bug 235599
+ epatch "${FILESDIR}"/${PN}-0.99-ifmask.patch
+ sed -i 's:\($(CC) $(CFLAGS)\)\( -o libx86.so.1\):\1 $(LDFLAGS)\2:' Makefile #236888
+}
+
+src_compile() {
+ local ARGS
+ if use amd64; then
+ ARGS="BACKEND=x86emu"
+ fi
+ emake ${ARGS} || die
+}
+
+src_install() {
+ emake LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die
+}