grobian     14/05/09 07:02:46

  Modified:             gdb-7.7.1.ebuild ChangeLog
  Log:
  Reapply python-config fix for Darwin
  
  (Portage version: HEAD/cvs/Darwin i386, signed Manifest commit with key 
0x5F75F607C5C74E89)

Revision  Changes    Path
1.2                  sys-devel/gdb/gdb-7.7.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-7.7.1.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-7.7.1.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-7.7.1.ebuild?r1=1.1&r2=1.2

Index: gdb-7.7.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.7.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-7.7.1.ebuild    8 May 2014 19:58:57 -0000       1.1
+++ gdb-7.7.1.ebuild    9 May 2014 07:02:46 -0000       1.2
@@ -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 @@
        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() {



1.269                sys-devel/gdb/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.269&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.269&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/ChangeLog?r1=1.268&r2=1.269

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v
retrieving revision 1.268
retrieving revision 1.269
diff -u -r1.268 -r1.269
--- ChangeLog   8 May 2014 19:58:57 -0000       1.268
+++ ChangeLog   9 May 2014 07:02:46 -0000       1.269
@@ -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 <[email protected]> gdb-7.7.1.ebuild:
+  Reapply python-config fix for Darwin
 
 *gdb-7.7.1 (08 May 2014)
 




Reply via email to