summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-28 11:24:59 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-28 11:24:59 +0000
commit6cb5d0f0678d51a1530d725502bb3190622e8c4e (patch)
tree1393fc0d49316a648b362387c2f6f8701ed3eb1e /dev-lua/LuaBitOp
parentAdd patch from upstream to allow building without alsa, bug #360163 (diff)
downloadhistorical-6cb5d0f0678d51a1530d725502bb3190622e8c4e.tar.gz
historical-6cb5d0f0678d51a1530d725502bb3190622e8c4e.tar.bz2
historical-6cb5d0f0678d51a1530d725502bb3190622e8c4e.zip
Respect LDFLAGS. Bug #367087. Thanks to Alexander Stein <alexander.stein@informatik.tu-chemnitz.de> for the patch
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'dev-lua/LuaBitOp')
-rw-r--r--dev-lua/LuaBitOp/ChangeLog7
-rw-r--r--dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild5
-rw-r--r--dev-lua/LuaBitOp/Manifest33
-rw-r--r--dev-lua/LuaBitOp/files/LuaBitOp-ldflags.patch13
4 files changed, 39 insertions, 19 deletions
diff --git a/dev-lua/LuaBitOp/ChangeLog b/dev-lua/LuaBitOp/ChangeLog
index 543eadb2922d..915a8094e779 100644
--- a/dev-lua/LuaBitOp/ChangeLog
+++ b/dev-lua/LuaBitOp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lua/LuaBitOp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.4 2011/07/18 15:21:28 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.5 2011/08/28 11:24:59 hwoarang Exp $
+
+ 28 Aug 2011; Markos Chandras <hwoarang@gentoo.org> LuaBitOp-1.0.1-r1.ebuild,
+ +files/LuaBitOp-ldflags.patch:
+ Respect LDFLAGS. Bug #367087. Thanks to Alexander Stein
+ <alexander.stein@informatik.tu-chemnitz.de> for the patch
18 Jul 2011; Markos Chandras <hwoarang@gentoo.org> LuaBitOp-1.0.1-r1.ebuild:
keyworded for amd64. Bug #366831
diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild
index 20a43d0c1284..377a59562b62 100644
--- a/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild
+++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild,v 1.2 2011/07/18 15:21:28 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/LuaBitOp-1.0.1-r1.ebuild,v 1.3 2011/08/28 11:24:59 hwoarang Exp $
EAPI="4"
-inherit multilib
+inherit eutils multilib
DESCRIPTION="Bit Operations Library for the Lua Programming Language"
HOMEPAGE="http://bitop.luajit.org"
@@ -23,6 +23,7 @@ src_prepare()
-e '/^CFLAGS.*=/s/=/ +=/' \
-e '/^CFLAGS/s/-O2 -fomit-frame-pointer //' \
Makefile || die "sed failed"
+ epatch ${FILESDIR}/${PN}-ldflags.patch
}
src_compile()
diff --git a/dev-lua/LuaBitOp/Manifest b/dev-lua/LuaBitOp/Manifest
index ecb4cb3f9ca4..a7ab401b8dff 100644
--- a/dev-lua/LuaBitOp/Manifest
+++ b/dev-lua/LuaBitOp/Manifest
@@ -1,24 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
+AUX LuaBitOp-ldflags.patch 376 RMD160 52e0c8e26e052708ad1d2b30eded913b82f670cc SHA1 0490f5899d11614cbbb23a79f9964828889584d3 SHA256 443598aa1e11576681ec69c5e9eaf85d7bbc767ccaa67306b6d7669e95392bc9
DIST LuaBitOp-1.0.1.tar.gz 22984 RMD160 018d7643c7ca2bf87a1dc0e79b03fb60e4a03523 SHA1 126d387d8129db7477f814c6228f68b1326989d1 SHA256 6afa9984411079a7e109977bc8a28d63890c1489a928b1f61d33ef327e9cb0c9
-EBUILD LuaBitOp-1.0.1-r1.ebuild 810 RMD160 70f8e7b760272bef2842e37d29ea30b16b1cff3c SHA1 bd12ecda0817399be161939a7ec5dd92045d3639 SHA256 ca460bc8f3d957c1d9ece3acbaaa1d965c4bc63daecf58bdd7a22c287911aa14
-MISC ChangeLog 737 RMD160 e0b72064116c222c20b008e01fade059326747b7 SHA1 971f6b1be823eefd29669ebeee9f429b3fbdcc4d SHA256 94115fd98727cc8907720dc352b2ab91e91f29b37c6fd440fa48b936678da95f
+EBUILD LuaBitOp-1.0.1-r1.ebuild 857 RMD160 5b077809de14f2e1886d8c902bd252fc8bfa83a1 SHA1 069972bbc1eb7e28bd97d87aa788a9c188749675 SHA256 72a381160fedb0d9edd7c8481adc8993ed314c69e7bc5cf5c844db38007f7ea1
+MISC ChangeLog 968 RMD160 73ae352a4dd6eacfa717228ee227823659f10b42 SHA1 f93139f4b68154d4f795f476b9ee67f584f015b8 SHA256 b62daebf5a762c4d01203e3ca6687ec949c6f80c750a3257836a4f68cd181cc2
MISC metadata.xml 392 RMD160 e898ada498abb786e529aaae0595711691e9cd8e SHA1 30b65458b9066f39a29cf54694c59ebd91952a51 SHA256 61c0672b7c0abb56b0ad7bb25523f9c072c9300c4044fa2e96d726911970a428
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCgAGBQJOJE92AAoJEPqDWhW0r/LCPf8P/AiPq1UqE8jIu3kF43X/GQJA
-Z1oNz8M6gGr1auCobyYew/1JfFtxv5H2C80hHbaeglVkBVA5ckMDYmZPcvgA64RT
-mGrnt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jmFBInUZPBE
+2T+xy7JPa2WrL8Ib7FSJGqSksVrQWWc1FcVSWfoiHUyFxr2bc+PD4N7GtNqQobvi
+pPSgrrCem2TwnKkawOM+zTWTUOV0i9/PnZxuK3B8uZmhaVAyCY5QmHDouXY7ThSJ
+HPeCChGx/+GwIJp26HZ5TCuwTkgv7Jdm7288jlS6HbcxrLIYJLDRsf02Ai3Bpdvu
+43qSdhN8gj2+TBUsTuciA2DA4V8w9asuOFmRUUa09WxaLIK8CPOAB8ZpAvUOoACG
+Vwq4w4QYIGRcm58F2q4F
+=X5Wt
-----END PGP SIGNATURE-----
diff --git a/dev-lua/LuaBitOp/files/LuaBitOp-ldflags.patch b/dev-lua/LuaBitOp/files/LuaBitOp-ldflags.patch
new file mode 100644
index 000000000000..2a690cdb5866
--- /dev/null
+++ b/dev-lua/LuaBitOp/files/LuaBitOp-ldflags.patch
@@ -0,0 +1,13 @@
+Index: LuaBitOp-1.0.1/Makefile
+===================================================================
+--- LuaBitOp-1.0.1.orig/Makefile
++++ LuaBitOp-1.0.1/Makefile
+@@ -14,7 +14,7 @@ LUA= lua
+
+ CC= gcc
+ SOCFLAGS= -fPIC
+-SOCC= $(CC) -shared $(SOCFLAGS)
++SOCC= $(CC) -shared $(SOCFLAGS) $(LDFLAGS)
+ CFLAGS += -Wall $(SOCFLAGS) $(DEFINES) $(INCLUDES)
+ RM= rm -f
+ INSTALL= install -p