1 |
keri 07/12/22 06:05:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: swi-prolog-5.6.48.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.4_rc10) |
8 |
|
9 |
Revision Changes Path |
10 |
1.128 dev-lang/swi-prolog/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.128&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.128&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.127&r2=1.128 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v |
19 |
retrieving revision 1.127 |
20 |
retrieving revision 1.128 |
21 |
diff -u -r1.127 -r1.128 |
22 |
--- ChangeLog 23 Nov 2007 06:52:17 -0000 1.127 |
23 |
+++ ChangeLog 22 Dec 2007 06:05:48 -0000 1.128 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-lang/swi-prolog |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.127 2007/11/23 06:52:17 keri Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.128 2007/12/22 06:05:48 keri Exp $ |
29 |
+ |
30 |
+*swi-prolog-5.6.48 (22 Dec 2007) |
31 |
+ |
32 |
+ 22 Dec 2007; keri <keri@g.o> +swi-prolog-5.6.48.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
23 Nov 2007; keri <keri@g.o> swi-prolog-5.6.47.ebuild: |
36 |
Update 3160-xpce-parallel-build.patch to address race in dv-home/rt-home |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-lang/swi-prolog/swi-prolog-5.6.48.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.48.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.48.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: swi-prolog-5.6.48.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.48.ebuild,v 1.1 2007/12/22 06:05:48 keri Exp $ |
50 |
|
51 |
inherit eutils flag-o-matic java-pkg-opt-2 |
52 |
|
53 |
PATCHSET_VER="0" |
54 |
|
55 |
DESCRIPTION="free, small, and standard compliant Prolog compiler" |
56 |
HOMEPAGE="http://www.swi-prolog.org/" |
57 |
SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.tar.gz |
58 |
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" |
59 |
|
60 |
LICENSE="LGPL-2.1" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
63 |
IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static latex threads zlib X" |
64 |
|
65 |
DEPEND="!dev-lang/swi-prolog-lite |
66 |
sys-libs/ncurses |
67 |
zlib? ( sys-libs/zlib ) |
68 |
odbc? ( dev-db/unixODBC ) |
69 |
berkdb? ( sys-libs/db ) |
70 |
readline? ( sys-libs/readline ) |
71 |
gmp? ( dev-libs/gmp ) |
72 |
ssl? ( dev-libs/openssl ) |
73 |
java? ( >=virtual/jdk-1.4 |
74 |
dev-java/junit ) |
75 |
X? ( |
76 |
media-libs/jpeg |
77 |
x11-libs/libX11 |
78 |
x11-libs/libXft |
79 |
x11-libs/libXpm |
80 |
x11-libs/libXt |
81 |
x11-libs/libICE |
82 |
x11-libs/libSM |
83 |
x11-proto/xproto )" |
84 |
|
85 |
S="${WORKDIR}/pl-${PV}" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
cd "${S}" |
90 |
|
91 |
EPATCH_FORCE=yes |
92 |
EPATCH_SUFFIX=patch |
93 |
epatch "${WORKDIR}"/${PV} |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
einfo "Building SWI-Prolog compiler" |
98 |
|
99 |
use hardened && append-flags -fno-unit-at-a-time |
100 |
use debug && append-flags -DO_DEBUG |
101 |
|
102 |
local threadconf |
103 |
if use java && ! use minimal || use threads ; then |
104 |
threadconf="--enable-mt" |
105 |
else |
106 |
threadconf="--disable-mt" |
107 |
fi |
108 |
|
109 |
cd "${S}"/src |
110 |
econf \ |
111 |
--libdir=/usr/$(get_libdir) \ |
112 |
${threadconf} \ |
113 |
$(use_enable gmp) \ |
114 |
$(use_enable readline) \ |
115 |
$(use_enable !static shared) \ |
116 |
--disable-custom-flags \ |
117 |
|| die "econf failed" |
118 |
emake || die "emake failed" |
119 |
|
120 |
if ! use minimal ; then |
121 |
einfo "Building SWI-Prolog additional packages" |
122 |
|
123 |
cd "${S}/packages" |
124 |
econf \ |
125 |
--libdir=/usr/$(get_libdir) \ |
126 |
${threadconf} \ |
127 |
$(use_enable !static shared) \ |
128 |
--without-C-sicstus \ |
129 |
--with-chr \ |
130 |
--with-clib \ |
131 |
--with-clpqr \ |
132 |
--with-cpp \ |
133 |
--with-cppproxy \ |
134 |
$(use_with berkdb db) \ |
135 |
--with-http \ |
136 |
--without-jasmine \ |
137 |
$(use_with java jpl) \ |
138 |
$(use_with latex ltx2htm) \ |
139 |
--with-nlp \ |
140 |
$(use_with odbc) \ |
141 |
--with-pldoc \ |
142 |
--with-plunit \ |
143 |
--with-semweb \ |
144 |
--with-sgml \ |
145 |
--with-sgml/RDF \ |
146 |
$(use_with ssl) \ |
147 |
--with-table \ |
148 |
$(use_with X xpce) \ |
149 |
$(use_with zlib) \ |
150 |
|| die "packages econf failed" |
151 |
|
152 |
emake || die "packages emake failed" |
153 |
fi |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
emake -C src DESTDIR="${D}" install || die "install src failed" |
158 |
|
159 |
if ! use minimal ; then |
160 |
emake -C packages DESTDIR="${D}" install || die "install packages failed" |
161 |
if use doc ; then |
162 |
emake -C packages DESTDIR="${D}" html-install || die "html-install failed" |
163 |
emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed" |
164 |
fi |
165 |
fi |
166 |
|
167 |
dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION |
168 |
} |
169 |
|
170 |
src_test() { |
171 |
cd "${S}/src" |
172 |
emake check || die "make check failed. See above for details." |
173 |
|
174 |
if ! use minimal ; then |
175 |
cd "${S}/packages" |
176 |
emake check || die "make check failed. See above for details." |
177 |
fi |
178 |
} |
179 |
|
180 |
|
181 |
|
182 |
-- |
183 |
gentoo-commits@g.o mailing list |