summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2014-05-09 07:02:46 +0000
committerFabian Groffen <grobian@gentoo.org>2014-05-09 07:02:46 +0000
commit8f64be242f7f7a2e78d648d80bfe62757d64e5a6 (patch)
tree5548d1878c9ce28e21b2d7f2cd0ceeadd38cb92c /sys-devel/gdb
parentUpdate remove-native wrt libpng version change. (diff)
downloadgentoo-2-8f64be242f7f7a2e78d648d80bfe62757d64e5a6.tar.gz
gentoo-2-8f64be242f7f7a2e78d648d80bfe62757d64e5a6.tar.bz2
gentoo-2-8f64be242f7f7a2e78d648d80bfe62757d64e5a6.zip
Reapply python-config fix for Darwin
(Portage version: HEAD/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r--sys-devel/gdb/ChangeLog5
-rw-r--r--sys-devel/gdb/gdb-7.7.1.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index 86c4dee34e36..01e6b7bf8028 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/gdb
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.268 2014/05/08 19:58:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.269 2014/05/09 07:02:46 grobian Exp $
+
+ 09 May 2014; Fabian Groffen <grobian@gentoo.org> gdb-7.7.1.ebuild:
+ Reapply python-config fix for Darwin
*gdb-7.7.1 (08 May 2014)
diff --git a/sys-devel/gdb/gdb-7.7.1.ebuild b/sys-devel/gdb/gdb-7.7.1.ebuild
index d176f3a8aac0..584ac10d60aa 100644
--- a/sys-devel/gdb/gdb-7.7.1.ebuild
+++ b/sys-devel/gdb/gdb-7.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.7.1.ebuild,v 1.1 2014/05/08 19:58:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.7.1.ebuild,v 1.2 2014/05/09 07:02:46 grobian Exp $
EAPI="4"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
@@ -80,6 +80,16 @@ src_prepare() {
use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
epatch_user
strip-linguas -u bfd/po opcodes/po
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # make sure we have a python-config that matches our install,
+ # such that the python check doesn't fail just because the
+ # gdb-provided copy isn't quite what our python installed
+ # version is
+ rm -f "${S}"/gdb/python/python-config.py || die
+ pushd "${S}"/gdb/python > /dev/null || die
+ ln -s "${T}"/${EPYTHON}/bin/python-config python-config.py || die
+ popd > /dev/null || die
+ fi
}
gdb_branding() {