summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-13 05:35:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-13 05:35:35 +0000
commitd413a95bb89dfebc27b64b01c8887e5283cae601 (patch)
treeee5b38b3e7dd6cdefa0cd465a389e3639b3deb41 /games-emulation
parentMarked ppc stable for bug #335825. (diff)
downloadhistorical-d413a95bb89dfebc27b64b01c8887e5283cae601.tar.gz
historical-d413a95bb89dfebc27b64b01c8887e5283cae601.tar.bz2
historical-d413a95bb89dfebc27b64b01c8887e5283cae601.zip
fix building with USE=-lua
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fceux/ChangeLog5
-rw-r--r--games-emulation/fceux/Manifest4
-rw-r--r--games-emulation/fceux/fceux-2.1.4a.ebuild9
3 files changed, 14 insertions, 4 deletions
diff --git a/games-emulation/fceux/ChangeLog b/games-emulation/fceux/ChangeLog
index 37e5f9356d7c..df8798fcfa9d 100644
--- a/games-emulation/fceux/ChangeLog
+++ b/games-emulation/fceux/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/fceux
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.5 2010/07/26 21:28:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.6 2010/09/13 05:35:35 mr_bones_ Exp $
+
+ 13 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> fceux-2.1.4a.ebuild:
+ fix building with USE=-lua
*fceux-2.1.4a (26 Jul 2010)
diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest
index 990768f94244..3e55ff0a6ccd 100644
--- a/games-emulation/fceux/Manifest
+++ b/games-emulation/fceux/Manifest
@@ -1,6 +1,6 @@
DIST fceux-2.1.1.src.tar.bz2 3263945 RMD160 c975e61876af2b1391768f322b962b5c3162f4f8 SHA1 1846544b6cd67749708cc10cce86784b3107166a SHA256 5f668de5870e28e4b52fcf8816c17831c0f9597307bd643c226a616a1766bdab
DIST fceux-2.1.4a.src.tar.bz2 5083564 RMD160 c36723db343050f90a923869918596b7092cf1f5 SHA1 5297c873d8de397538869ea8b23816d457d13add SHA256 267aef2cf05c510f66eca8330060c495a3c18ad22c73bda42df73d8d8330df3a
EBUILD fceux-2.1.1.ebuild 1384 RMD160 530d96c0fb12d3cec0ce5a8cecde02e23df59e6b SHA1 133590c49b57f9d99bad539143cad007479dbd65 SHA256 10a8d356f4999750a349b16b983cc72d93267149aaee02acc8830eb34268ff79
-EBUILD fceux-2.1.4a.ebuild 1412 RMD160 8ad3da3038a2d7925f8b891833a06d89525f00c3 SHA1 0ee7fc1e6116098895e53e415bb8435a5c2e821c SHA256 2b48db7c4999056c4b584992511f6627443151ee57a7543ad8c416d937b72a19
-MISC ChangeLog 860 RMD160 273b577cc89f40a67ef79bac72e99b3fdd8ffa8f SHA1 f920f427dd3477a45565b125b68a85d1017b5069 SHA256 246845ce22b073b5649493ef72fda794dbc72b3b6395fd8fd7146c610bce69cf
+EBUILD fceux-2.1.4a.ebuild 1529 RMD160 fbc142127754aaeb53c518b2192428389664844f SHA1 c001a8e531f3cb10765c75a232f92c72f1251f06 SHA256 b5872cd03b621e557cb51d2141543c38dddafbbe0d869999ec5f0e3b155d39bb
+MISC ChangeLog 966 RMD160 a2a150a38d170d52fb5f58e93d506eb190d9ee7d SHA1 afa89eb44478c5702735f2f4b830666e7252b043 SHA256 428680f436741f053c9299f9faac6a299106a2df668112ce4ed635ffffc39a71
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-emulation/fceux/fceux-2.1.4a.ebuild b/games-emulation/fceux/fceux-2.1.4a.ebuild
index 8e8b87e496fb..14fa4656817b 100644
--- a/games-emulation/fceux/fceux-2.1.4a.ebuild
+++ b/games-emulation/fceux/fceux-2.1.4a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.4a.ebuild,v 1.1 2010/07/26 21:28:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.4a.ebuild,v 1.2 2010/09/13 05:35:35 mr_bones_ Exp $
EAPI=2
inherit games
@@ -28,6 +28,13 @@ RDEPEND="${RDEPEND}
S=${WORKDIR}/fceu${PV}
+src_prepare() {
+ # mentioned in bug #335836
+ if ! use lua ; then
+ sed -i -e '/_S9XLUA_H/d' SConstruct || die
+ fi
+}
+
src_compile() {
local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
scons \