1 |
armin76 08/07/07 13:47:34 |
2 |
|
3 |
Modified: ChangeLog clisp-2.46.ebuild |
4 |
Log: |
5 |
Tweak ebuild to make it compile on alpha/ia64, add ~alpha/~ia64, bug #230035 |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.81 dev-lisp/clisp/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.81&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.81&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?r1=1.80&r2=1.81 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v |
18 |
retrieving revision 1.80 |
19 |
retrieving revision 1.81 |
20 |
diff -u -r1.80 -r1.81 |
21 |
--- ChangeLog 3 Jul 2008 17:14:16 -0000 1.80 |
22 |
+++ ChangeLog 7 Jul 2008 13:47:33 -0000 1.81 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-lisp/clisp |
25 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.80 2008/07/03 17:14:16 hkbst Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.81 2008/07/07 13:47:33 armin76 Exp $ |
28 |
+ |
29 |
+ 07 Jul 2008; Raúl Porcel <armin76@g.o> clisp-2.46.ebuild: |
30 |
+ Tweak ebuild to make it compile on alpha/ia64, add ~alpha/~ia64, bug |
31 |
+ #230035 |
32 |
|
33 |
*clisp-2.46 (03 Jul 2008) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-lisp/clisp/clisp-2.46.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: clisp-2.46.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- clisp-2.46.ebuild 3 Jul 2008 17:14:16 -0000 1.1 |
51 |
+++ clisp-2.46.ebuild 7 Jul 2008 13:47:33 -0000 1.2 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild,v 1.1 2008/07/03 17:14:16 hkbst Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.46.ebuild,v 1.2 2008/07/07 13:47:33 armin76 Exp $ |
57 |
|
58 |
inherit flag-o-matic eutils toolchain-funcs multilib |
59 |
|
60 |
@@ -11,7 +11,7 @@ |
61 |
|
62 |
# EAPI="1" |
63 |
SLOT="2" |
64 |
-KEYWORDS="~amd64 ~ppc -sparc ~x86" |
65 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc -sparc ~x86" |
66 |
IUSE="hyperspec X new-clx fastcgi gdbm gtk pari pcre postgres readline svm zlib" |
67 |
|
68 |
RDEPEND="virtual/libiconv |
69 |
@@ -53,11 +53,24 @@ |
70 |
# * matlab, netica: not in portage |
71 |
# * oracle: can't install oracle-instantclient |
72 |
|
73 |
+src_unpack() { |
74 |
+ unpack ${A} |
75 |
+ cd "${S}" |
76 |
+ |
77 |
+ # More than -O1 breaks alpha/ia64 |
78 |
+ use alpha || use ia64 && sed -i -e 's/-O2//g' src/makemake.in |
79 |
+} |
80 |
+ |
81 |
src_compile() { |
82 |
# built-in features |
83 |
local myconf="--with-ffcall --with-dynamic-modules" |
84 |
use readline || myconf="${myconf} --with-noreadline" |
85 |
|
86 |
+ # We need this to build on alpha/ia64 |
87 |
+ if use alpha || use ia64; then |
88 |
+ replace-flags -O? -O1 |
89 |
+ append-flags '-D NO_MULTIMAP_SHM -D NO_MULTIMAP_FILE -D NO_SINGLEMAP -D NO_TRIVIALMAP' |
90 |
+ fi |
91 |
# default modules |
92 |
enable_modules wildcard rawsock i18n |
93 |
# optional modules |
94 |
|
95 |
|
96 |
|
97 |
-- |
98 |
gentoo-commits@l.g.o mailing list |