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.43-r1.ebuild
Date: Sun, 03 Feb 2008 17:54:33
Message-Id: E1JLj2z-0006tC-Q3@stork.gentoo.org
1 hkbst 08/02/03 17:54:29
2
3 Modified: ChangeLog
4 Added: clisp-2.43-r1.ebuild
5 Log:
6 fix for making clisp-link executable, bug 205387
7 (Portage version: 2.1.4.1)
8
9 Revision Changes Path
10 1.72 dev-lisp/clisp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.72&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.72&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?r1=1.71&r2=1.72
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v
19 retrieving revision 1.71
20 retrieving revision 1.72
21 diff -u -r1.71 -r1.72
22 --- ChangeLog 22 Dec 2007 19:18:34 -0000 1.71
23 +++ ChangeLog 3 Feb 2008 17:54:29 -0000 1.72
24 @@ -1,6 +1,11 @@
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.71 2007/12/22 19:18:34 nixnut Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.72 2008/02/03 17:54:29 hkbst Exp $
30 +
31 +*clisp-2.43-r1 (14 Jan 2008)
32 +
33 + 14 Jan 2008; Marijn Schouten <hkBst@g.o> +clisp-2.43-r1.ebuild:
34 + fix for making clisp-link executable, bug 205387
35
36 22 Dec 2007; nixnut <nixnut@g.o> clisp-2.42-r1.ebuild:
37 Added ~ppc wrt bug 196708
38
39
40
41 1.1 dev-lisp/clisp/clisp-2.43-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.43-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.43-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: clisp-2.43-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.43-r1.ebuild,v 1.1 2008/02/03 17:54:29 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 ~ppc64 -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 enable_modules() {
85 [[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
86 for m in "$@" ; do
87 einfo "enabling module $m"
88 myconf="${myconf} --with-module=${m}"
89 done
90 }
91
92 BUILDDIR="builddir"
93
94 src_compile() {
95 CC="$(tc-getCC)"
96
97 # built-in features
98 local myconf="--with-dynamic-ffi"
99 use readline || myconf="${myconf} --with-noreadline"
100
101 # default modules
102 enable_modules wildcard rawsock i18n
103 # optional modules
104 use elibc_glibc && enable_modules bindings/glibc
105 if use X; then
106 if use new-clx; then
107 enable_modules clx/new-clx
108 else
109 enable_modules clx/mit-clx
110 fi
111 fi
112 if use postgres; then
113 enable_modules postgresql
114 CC="${CC} -I $(pg_config --includedir)"
115 fi
116 use fastcgi && enable_modules fastcgi
117 use gdbm && enable_modules gdbm
118 use gtk && enable_modules gtk2
119 use pcre && enable_modules pcre
120 use svm && enable_modules libsvm
121 use zlib && enable_modules zlib
122
123 # configure chokes on --infodir option
124 ./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
125 ${myconf} ${BUILDDIR} || die "./configure failed"
126 cd ${BUILDDIR}
127 ./makemake ${myconf} > Makefile
128 # emake config.lisp
129 # sed -i 's,"vi","nano",g' config.lisp
130 # parallel build fails
131 emake -j1 || die "emake failed"
132 }
133
134 src_install() {
135 pushd ${BUILDDIR}
136 make DESTDIR="${D}" prefix=/usr install-bin || die
137 doman clisp.1
138 dodoc SUMMARY README* NEWS MAGIC.add ANNOUNCE clisp.dvi clisp.html
139 chmod a+x "${D}"/usr/$(get_libdir)/clisp-${PV}/clisp-link
140 popd
141 dohtml doc/impnotes.{css,html} ${BUILDDIR}/clisp.html doc/clisp.png
142 dodoc ${BUILDDIR}/clisp.ps doc/{editors,CLOS-guide,LISP-tutorial}.txt
143 }
144
145
146
147 --
148 gentoo-commits@l.g.o mailing list