summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-03-08 22:43:26 +0000
committerThomas Sachau <tommy@gentoo.org>2009-03-08 22:43:26 +0000
commitd453626f702e5bd08c36152c80ba1259df52366e (patch)
treee9d024dda09045d115e59d4bd1acb7d001c20489 /dev-lang/xharbour
parentgames-fps/bloodfrontier: fixed dependencies (diff)
downloadsunrise-d453626f702e5bd08c36152c80ba1259df52366e.tar.gz
sunrise-d453626f702e5bd08c36152c80ba1259df52366e.tar.bz2
sunrise-d453626f702e5bd08c36152c80ba1259df52366e.zip
dev-lang/xharbour: Add missing eclass, drop useless DEP, use tc-getCC for compiler, use dodoc, whitespace
svn path=/sunrise/; revision=8030
Diffstat (limited to 'dev-lang/xharbour')
-rw-r--r--dev-lang/xharbour/ChangeLog5
-rw-r--r--dev-lang/xharbour/Manifest4
-rw-r--r--dev-lang/xharbour/xharbour-1.0.0_beta1.ebuild12
3 files changed, 12 insertions, 9 deletions
diff --git a/dev-lang/xharbour/ChangeLog b/dev-lang/xharbour/ChangeLog
index f6729881d..f05da483f 100644
--- a/dev-lang/xharbour/ChangeLog
+++ b/dev-lang/xharbour/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 08 Mar 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ xharbour-1.0.0_beta1.ebuild:
+ Add missing eclass, drop useless DEP, use tc-getCC for compiler, use dodoc,
+ whitespace
+
08 Mar 2009; Phil Krylov (philkrylov) <phil.krylov@gmail.com>
+xharbour-1.0.0_beta1.ebuild, +files/xharbour-as-needed.patch,
+files/xharbour-fPIC.patch, +files/xharbour-mkinstdir.patch,
diff --git a/dev-lang/xharbour/Manifest b/dev-lang/xharbour/Manifest
index 8cc5be395..c6d8e63d0 100644
--- a/dev-lang/xharbour/Manifest
+++ b/dev-lang/xharbour/Manifest
@@ -4,6 +4,6 @@ AUX xharbour-mkinstdir.patch 386 RMD160 b36d7e51971926063eee2386a457f45b416b85f6
AUX xharbour-parallel-make.patch 3736 RMD160 3c4d3986a912c463b4c4dbfd73d79cea96e84c6b SHA1 e4c7c34e04db45fadc7a45904a448b01bbe47d60 SHA256 b57b85917a0d962fea6ccc8d938318bce436dff62ec2081795f50c97935390b5
AUX xharbour-skip-static-utils.patch 256 RMD160 afd46e6127a2bbcae080c14edfe5e833933b614c SHA1 17e4951348de79196138d199e7df5c8704df370c SHA256 4a0b6792b3126ff8fc24e00ebd15ea77de12542476d5990d3298f356e607d2a9
DIST xharbour-1.0.0-beta1.src.tar.gz 4599382 RMD160 201c45aee776efbd41da5c4bd7c2cb7637c78f48 SHA1 b874ec86a265ad80263c400f0e72516082747719 SHA256 0ec6faf77be2a3842465e6dc1337c760331152fbe1f9f2f95c18e59823cd3e66
-EBUILD xharbour-1.0.0_beta1.ebuild 2931 RMD160 bb0d8b2ef8bf1f75a98562aa705b4efe2265fc73 SHA1 8900819bc3df2bff5774f1a9b4062c5a85750e34 SHA256 020808427e345e499fdbb6a0e62e5e1d0a15dc85c949098e485f4cd6559d7893
-MISC ChangeLog 527 RMD160 241d366cf14da54f642fddefcbae13618f095da4 SHA1 77b744b439e8a6be51369584216243c0548de856 SHA256 f92286e9417eeeb52826e5e514fd0a3d51e822da26468eca292bdd0b962835cd
+EBUILD xharbour-1.0.0_beta1.ebuild 2899 RMD160 3a1dd045a7d5bd7edcc23d30ddf8aac3d92a4643 SHA1 5ff6708a2140f0e5805c269cb73d91a419991b78 SHA256 ccb7ac795bd5e0f3298ab4d9410b32602a0688ef873ce4b74dd2375a0e44396a
+MISC ChangeLog 709 RMD160 0e8a2d234d9453837ad62be449155cdf6c15076b SHA1 cdde71eab401f5eb1a86bed0a675b0a98771358e SHA256 8b2c4c751ab687fd93148df0c72a59eeb69018d045a9591d6f7c491f31bef312
MISC metadata.xml 243 RMD160 acce2888cb02b47c1948846ff447513f4cb6283e SHA1 8666a3eb22d98103aa8ac03907b85906e143e2cf SHA256 4b6fe2a2b60f72ca8aa59e7e0208c01e802058d5cd2ce1f3609f8bae5320d29c
diff --git a/dev-lang/xharbour/xharbour-1.0.0_beta1.ebuild b/dev-lang/xharbour/xharbour-1.0.0_beta1.ebuild
index 0411e8a40..2cebd62f9 100644
--- a/dev-lang/xharbour/xharbour-1.0.0_beta1.ebuild
+++ b/dev-lang/xharbour/xharbour-1.0.0_beta1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit base
+inherit base toolchain-funcs
MY_P=${P/_/-}
DESCRIPTION="An extended implementation of the Clipper dialect of the xBase language family"
@@ -14,9 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="allegro doc gpm odbc slang threads X"
-RDEPEND="
- sys-libs/ncurses
- virtual/libc
+RDEPEND="sys-libs/ncurses
allegro? ( media-libs/allegro )
gpm? ( sys-libs/gpm )
odbc? ( dev-db/unixODBC )
@@ -50,7 +48,7 @@ src_compile() {
HB_WITHOUT_GTSLN=$(useq slang || echo yes) \
HB_MT=$(useq threads && echo MT) \
HB_WITHOUT_X11=$(useq X || echo yes) \
- HB_COMPILER="gcc" \
+ HB_COMPILER="$(tc-getCC)" \
HB_ARCHITECTURE="$(uname -s | sed -e 's/-//g;y/BDFHLNOPSUX/bdfhlnopsux/;s/.*bsd/bsd/')" \
HB_GT_LIB="gtstd" \
HB_MULTI_GT="yes" \
@@ -75,8 +73,8 @@ src_install() {
export HB_LIB_INSTALL="${D}"/usr/lib/xharbour
emake install || die
- dodir /etc/harbour
- install -m644 source/rtl/gtcrs/hb-charmap.def "${D}"/etc/harbour/hb-charmap.def || die
+ insinto /etc/harbour
+ doins source/rtl/gtcrs/hb-charmap.def || die
cat > "${D}"/etc/harbour.cfg <<-EOF
CC=$(tc-getCC)
CFLAGS=-c -I${_DEFAULT_INC_DIR} ${CFLAGS}