Gentoo Archives: gentoo-commits

From: "Marijn Schouten (hkbst)" <hkbst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lisp/clisp: ChangeLog clisp-2.42-r1.ebuild
Date: Mon, 22 Oct 2007 13:32:25
Message-Id: E1IjxOE-00012i-EH@stork.gentoo.org
1 hkbst 07/10/22 13:32:18
2
3 Modified: ChangeLog
4 Added: clisp-2.42-r1.ebuild
5 Log:
6 fixes for clisp from bug 196543, thanks to Stelian Ionescu <stelian.ionescu-zeus@×××××.it>
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.66 dev-lisp/clisp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.66&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.66&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?r1=1.65&r2=1.66
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v
19 retrieving revision 1.65
20 retrieving revision 1.66
21 diff -u -r1.65 -r1.66
22 --- ChangeLog 17 Oct 2007 14:09:32 -0000 1.65
23 +++ ChangeLog 22 Oct 2007 13:32:17 -0000 1.66
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-lisp/clisp
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.65 2007/10/17 14:09:32 hkbst Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.66 2007/10/22 13:32:17 hkbst Exp $
29 +
30 +*clisp-2.42-r1 (22 Oct 2007)
31 +
32 + 22 Oct 2007; Marijn Schouten <hkBst@g.o> +clisp-2.42-r1.ebuild:
33 + fixes for clisp from bug 196543, thanks to Stelian Ionescu
34 + <stelian.ionescu-zeus@×××××.it>
35
36 17 Oct 2007; Marijn Schouten <hkBst@g.o> clisp-2.42.ebuild:
37 remove mangling of HyperSpec URL
38
39
40
41 1.1 dev-lisp/clisp/clisp-2.42-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.42-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.42-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: clisp-2.42-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.42-r1.ebuild,v 1.1 2007/10/22 13:32:17 hkbst Exp $
51
52 inherit flag-o-matic eutils toolchain-funcs multilib
53
54 DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
55 HOMEPAGE="http://clisp.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="2"
60 KEYWORDS="~amd64 -sparc ~x86"
61 IUSE="X new-clx fastcgi gdbm gtk pcre postgres readline svm zlib"
62
63 RDEPEND="dev-lisp/gentoo-init
64 >=dev-libs/libsigsegv-2.4
65 virtual/tetex
66 fastcgi? ( dev-libs/fcgi )
67 gdbm? ( sys-libs/gdbm )
68 gtk? ( >=x11-libs/gtk+-2.10 >=gnome-base/libglade-2.6 )
69 postgres? ( >=dev-db/postgresql-8.0 )
70 readline? ( sys-libs/readline )
71 pcre? ( dev-libs/libpcre )
72 svm? ( sci-libs/libsvm )
73 zlib? ( sys-libs/zlib )
74 X? ( new-clx? ( x11-libs/libXpm ) )"
75 # * GNU gettext
76 # + Not needed on systems with glibc 2.2 or newer, but recommended on all
77 # other systems: needed if you want clisp with native language support.
78 # sys-devel/gettext
79
80 DEPEND="${RDEPEND} X? ( new-clx? ( x11-misc/imake x11-proto/xextproto ) )"
81
82 PROVIDE="virtual/commonlisp"
83
84 src_unpack() {
85 unpack ${A}
86 # Fix module install path: 2.41.1 -> 2.42
87 sed -i 's:2\.41\.1:2\.42:' "${S}"/src/{configure,version.h}
88 }
89
90 enable_modules() {
91 [[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
92 for m in "$@" ; do
93 einfo "enabling module $m"
94 myconf="${myconf} --with-module=${m}"
95 done
96 }
97
98 BUILDDIR="builddir"
99
100 src_compile() {
101 CC="$(tc-getCC)"
102
103 # built-in features
104 local myconf="--with-dynamic-ffi"
105 use readline || myconf="${myconf} --with-noreadline"
106
107 # default modules
108 enable_modules wildcard rawsock i18n
109 # optional modules
110 use elibc_glibc && enable_modules bindings/glibc
111 if use X; then
112 if use new-clx; then
113 enable_modules clx/new-clx
114 else
115 enable_modules clx/mit-clx
116 fi
117 fi
118 if use postgres; then
119 enable_modules postgresql
120 CC="${CC} -I $(pg_config --includedir)"
121 fi
122 use fastcgi && enable_modules fastcgi
123 use gdbm && enable_modules gdbm
124 use gtk && enable_modules gtk2
125 use pcre && enable_modules pcre
126 use svm && enable_modules libsvm
127 use zlib && enable_modules zlib
128
129 # configure chokes on --infodir option
130 ./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
131 ${myconf} ${BUILDDIR} || die "./configure failed"
132 cd ${BUILDDIR}
133 ./makemake ${myconf} > Makefile
134 # emake config.lisp
135 # sed -i 's,"vi","nano",g' config.lisp
136 # parallel build fails
137 emake -j1 || die "emake failed"
138 }
139
140 src_install() {
141 pushd ${BUILDDIR}
142 make DESTDIR="${D}" prefix=/usr install-bin || die
143 doman clisp.1
144 dodoc SUMMARY README* NEWS MAGIC.add ANNOUNCE clisp.dvi clisp.html
145 chmod a+x "${D}"/usr/$(get_libdir)/clisp/clisp-link
146 popd
147 dohtml doc/impnotes.{css,html} ${BUILDDIR}/clisp.html doc/clisp.png
148 dodoc ${BUILDDIR}/clisp.ps doc/{editors,CLOS-guide,LISP-tutorial}.txt
149 }
150
151
152
153 --
154 gentoo-commits@g.o mailing list