]> Pileus Git - ~andy/sunrise/blob - dev-lang/xharbour/big.diff
x11-themes/mandriva-galaxy: Revert r7983, no active upstream alone is no reason for...
[~andy/sunrise] / dev-lang / xharbour / big.diff
1 Index: files/xharbour-override-cc.patch
2 ===================================================================
3 --- files/xharbour-override-cc.patch    (revision 0)
4 +++ files/xharbour-override-cc.patch    (revision 0)
5 @@ -0,0 +1,16 @@
6 +--- xharbour-1.0.0-beta1/config/linux/gcc.cf.orig2     2009-03-09 01:57:04.000000000 +0300
7 ++++ xharbour-1.0.0-beta1/config/linux/gcc.cf   2009-03-09 01:59:07.000000000 +0300
8 +@@ -4,11 +4,13 @@
9
10 + include $(TOP)$(ROOT)config/$(HB_ARCHITECTURE)/global.cf
11
12 ++ifeq ($(HB_CMP),)
13 + ifeq ($(HB_COMPILER),gpp)
14 +    HB_CMP = g++
15 + else
16 +    HB_CMP = $(HB_COMPILER)
17 + endif
18 ++endif
19
20 + OBJ_EXT = .o
21 + EXE_EXT =
22 Index: xharbour-1.0.0_beta1.ebuild
23 ===================================================================
24 --- xharbour-1.0.0_beta1.ebuild (revision 8031)
25 +++ xharbour-1.0.0_beta1.ebuild (working copy)
26 @@ -34,6 +34,7 @@
27         "${FILESDIR}"/${PN}-as-needed.patch
28         "${FILESDIR}"/${PN}-fPIC.patch
29         "${FILESDIR}"/${PN}-mkinstdir.patch
30 +       "${FILESDIR}"/${PN}-override-cc.patch
31         "${FILESDIR}"/${PN}-parallel-make.patch
32         "${FILESDIR}"/${PN}-skip-static-utils.patch
33  )
34 @@ -48,7 +49,8 @@
35                 HB_WITHOUT_GTSLN=$(useq slang || echo yes) \
36                 HB_MT=$(useq threads && echo MT) \
37                 HB_WITHOUT_X11=$(useq X || echo yes) \
38 -               HB_COMPILER="$(tc-getCC)" \
39 +               HB_COMPILER="gcc" \
40 +               HB_CMP="$(tc-getCC)" \
41                 HB_ARCHITECTURE="$(uname -s | sed -e 's/-//g;y/BDFHLNOPSUX/bdfhlnopsux/;s/.*bsd/bsd/')" \
42                 HB_GT_LIB="gtstd" \
43                 HB_MULTI_GT="yes" \