summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-07-02 17:13:05 +0000
committerFabian Groffen <grobian@gentoo.org>2012-07-02 17:13:05 +0000
commitf1bc496a7bab719521cac13467587fb1241932a1 (patch)
tree59c435fb8828cf2953c811f5406ce8b724b2fd07 /dev-lang/v8/v8-9999.ebuild
parentadded speex and gsm use flags per bug #424327 (diff)
downloadgentoo-2-f1bc496a7bab719521cac13467587fb1241932a1.tar.gz
gentoo-2-f1bc496a7bab719521cac13467587fb1241932a1.tar.bz2
gentoo-2-f1bc496a7bab719521cac13467587fb1241932a1.zip
Dropped darwin-arch patch, latest gcc-apple now handles this. Set mac_deployment_target in GYPFLAGS for upstream bug 2151.
(Portage version: 2.2.01.20430-prefix/cvs/Darwin i386)
Diffstat (limited to 'dev-lang/v8/v8-9999.ebuild')
-rw-r--r--dev-lang/v8/v8-9999.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/dev-lang/v8/v8-9999.ebuild b/dev-lang/v8/v8-9999.ebuild
index f8badf763232..97f7f7126b30 100644
--- a/dev-lang/v8/v8-9999.ebuild
+++ b/dev-lang/v8/v8-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.28 2012/05/26 10:10:50 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.29 2012/07/02 17:13:05 grobian Exp $
EAPI="4"
@@ -28,14 +28,6 @@ src_unpack() {
make dependencies || die
}
-src_prepare() {
- # strip unsupported -arch (in Prefix) for OSX, e.g. bug #417401
- epatch "${FILESDIR}"/${PN}-3.10.8.10-darwin-arch.patch
- # make sure we don't target an anchient version of OSX
- # issue http://code.google.com/p/v8/issues/detail?id=2151
- #sed -i -e "/MACOSX_DEPLOYMENT_TARGET/d" build/standalone.gypi || die
-}
-
src_compile() {
tc-export AR CC CXX RANLIB
@@ -63,6 +55,7 @@ src_compile() {
# http://code.google.com/p/v8/issues/detail?id=1781
emake V=1 \
+ GYPFLAGS="-Dmac_deployment_target=${MACOSX_DEPLOYMENT_TARGET}" \
library=shared \
werror=no \
soname_version=${soname_version} \