summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-30 07:47:55 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-30 07:47:55 +0000
commit0fdec7e7f9a88e54dc5ed21e0bb4a5f7ed9cc6c5 (patch)
tree74d9e1f284acaed54e5c6e721ddd4b140989dbb0 /dev-util/insight
parentstable x86, bug 185631 (diff)
downloadhistorical-0fdec7e7f9a88e54dc5ed21e0bb4a5f7ed9cc6c5.tar.gz
historical-0fdec7e7f9a88e54dc5ed21e0bb4a5f7ed9cc6c5.tar.bz2
historical-0fdec7e7f9a88e54dc5ed21e0bb4a5f7ed9cc6c5.zip
tweak code a bit to account for cross compilers
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'dev-util/insight')
-rw-r--r--dev-util/insight/Manifest16
-rw-r--r--dev-util/insight/insight-6.6.ebuild21
2 files changed, 25 insertions, 12 deletions
diff --git a/dev-util/insight/Manifest b/dev-util/insight/Manifest
index bc405dfde4d2..11af0e9ee7a4 100644
--- a/dev-util/insight/Manifest
+++ b/dev-util/insight/Manifest
@@ -19,10 +19,10 @@ EBUILD insight-6.5.ebuild 1185 RMD160 359e0ffb6888a5acfaceb3c64b5b014db8b42668 S
MD5 53b7d1ccef2233b2ca8e9ea778f06077 insight-6.5.ebuild 1185
RMD160 359e0ffb6888a5acfaceb3c64b5b014db8b42668 insight-6.5.ebuild 1185
SHA256 c83c82e3d10f892b30a4dac00e7d6e437f921553aaf9ffb811369ef41ec48c01 insight-6.5.ebuild 1185
-EBUILD insight-6.6.ebuild 1518 RMD160 7f735bb915e1056095d5c85803122008e55e07aa SHA1 5077702d81690a942c5906fb025302b08968aa31 SHA256 f7a7c82bbe2c23addef71c474746a6cc9b9fdae786d1ddbe7fd292c6892259e2
-MD5 97433e0c81e97673574955990eec1966 insight-6.6.ebuild 1518
-RMD160 7f735bb915e1056095d5c85803122008e55e07aa insight-6.6.ebuild 1518
-SHA256 f7a7c82bbe2c23addef71c474746a6cc9b9fdae786d1ddbe7fd292c6892259e2 insight-6.6.ebuild 1518
+EBUILD insight-6.6.ebuild 1844 RMD160 0c60a58dd790d4ccdee45c31413ab280cfbc287a SHA1 4a114c01cb106c5cf6f2a5df7ec85660ea90b089 SHA256 bb8d6e50b0b62c309538e40ac2e74d686ee7f7dfa0349daadeb05aabb5601809
+MD5 6b638a0a98c4cc74508f0e19e6f03166 insight-6.6.ebuild 1844
+RMD160 0c60a58dd790d4ccdee45c31413ab280cfbc287a insight-6.6.ebuild 1844
+SHA256 bb8d6e50b0b62c309538e40ac2e74d686ee7f7dfa0349daadeb05aabb5601809 insight-6.6.ebuild 1844
MISC ChangeLog 4805 RMD160 2b4d5df85b5a6f12849b30cc449375a268bafbbe SHA1 be13fef505597764e2cef12c34a9b53fdf5af73a SHA256 e16d3c282a43c046d1594b142bc552b43c92b73323e3060d81d97c4a83d1d984
MD5 0d33863e8001f6c2926ab400e0da0ba3 ChangeLog 4805
RMD160 2b4d5df85b5a6f12849b30cc449375a268bafbbe ChangeLog 4805
@@ -38,9 +38,9 @@ MD5 f4982d899800dbea5ea644fc33e01c2e files/digest-insight-6.6 244
RMD160 f3564ef7d06a45239fb610be7e7f09cd73e32710 files/digest-insight-6.6 244
SHA256 555654839a0fd5877d96d60267052ec3f0e6dae4d77f33c4780866ce4a9e7a7f files/digest-insight-6.6 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.5 (GNU/Linux)
-iD8DBQFGowYY0BM77Tkv120RAgSHAJ45OYKOewovQ0BE4lXVNLJemcsZ7QCguanv
-lsNgmRk8Uu9bGtFFngM0C+Y=
-=E2/C
+iD8DBQFGrZiCp/wUKkr7RBoRAjh1AJ43pecF8O/W861PIeOMQa69ClKdxACdHoCh
+I4pCNJElxVp+eYHpulx9FIc=
+=aBnc
-----END PGP SIGNATURE-----
diff --git a/dev-util/insight/insight-6.6.ebuild b/dev-util/insight/insight-6.6.ebuild
index ffdaedee84ff..3c31f95316f3 100644
--- a/dev-util/insight/insight-6.6.ebuild
+++ b/dev-util/insight/insight-6.6.ebuild
@@ -1,15 +1,24 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.6.ebuild,v 1.1 2007/03/08 01:36:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.6.ebuild,v 1.2 2007/07/30 07:47:55 vapier Exp $
inherit eutils flag-o-matic
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
DESCRIPTION="A graphical interface to the GNU debugger"
HOMEPAGE="http://sourceware.org/insight/"
SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
-SLOT="0"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="nls"
@@ -41,7 +50,11 @@ src_compile() {
src_install() {
# the tcl-related subdirs are not parallel safe
emake -j1 DESTDIR="${D}" install || die
- dodoc gdb/gdbtk/{README,TODO}
+
+ # Don't install docs when building a cross-insight
+ if [[ ${CTARGET} == ${CHOST} ]] ; then
+ dodoc gdb/gdbtk/{README,TODO}
+ fi
# the gui tcl code does not consider any of the configure
# options given it ... instead, it requires the path to
@@ -52,7 +65,7 @@ src_install() {
local x
cd "${D}"/usr/bin
for x in * ; do
- [[ ${x} != "insight" ]] && rm -f ${x}
+ [[ ${x} != *insight ]] && rm -f ${x}
done
cd "${D}"
rm -rf usr/{include,man,share/{info,locale,man}}