Gentoo Archives: gentoo-commits

From: "Keri Harris (keri)" <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/swi-prolog: swi-prolog-5.11.24.ebuild ChangeLog
Date: Fri, 01 Jul 2011 21:36:59
Message-Id: 20110701213649.A8E762004B@flycatcher.gentoo.org
1 keri 11/07/01 21:36:49
2
3 Modified: ChangeLog
4 Added: swi-prolog-5.11.24.ebuild
5 Log:
6 Bump -5.11 development version
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.288 dev-lang/swi-prolog/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.288&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.288&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.287&r2=1.288
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v
20 retrieving revision 1.287
21 retrieving revision 1.288
22 diff -u -r1.287 -r1.288
23 --- ChangeLog 24 Jun 2011 20:24:28 -0000 1.287
24 +++ ChangeLog 1 Jul 2011 21:36:49 -0000 1.288
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lang/swi-prolog
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.287 2011/06/24 20:24:28 keri Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.288 2011/07/01 21:36:49 keri Exp $
30 +
31 +*swi-prolog-5.11.24 (01 Jul 2011)
32 +
33 + 01 Jul 2011; <keri@g.o> +swi-prolog-5.11.24.ebuild:
34 + Bump -5.11 development version
35
36 *swi-prolog-5.11.23 (24 Jun 2011)
37
38
39
40
41 1.1 dev-lang/swi-prolog/swi-prolog-5.11.24.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.24.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.24.ebuild?rev=1.1&content-type=text/plain
45
46 Index: swi-prolog-5.11.24.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.24.ebuild,v 1.1 2011/07/01 21:36:49 keri Exp $
51
52 EAPI=2
53
54 inherit eutils flag-o-matic java-pkg-opt-2
55
56 PATCHSET_VER="0"
57
58 DESCRIPTION="free, small, and standard compliant Prolog compiler"
59 HOMEPAGE="http://www.swi-prolog.org/"
60 SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
61 mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
67
68 RDEPEND="sys-libs/ncurses
69 zlib? ( sys-libs/zlib )
70 odbc? ( dev-db/unixODBC )
71 readline? ( sys-libs/readline )
72 gmp? ( dev-libs/gmp )
73 ssl? ( dev-libs/openssl )
74 java? ( >=virtual/jdk-1.4 )
75 X? (
76 virtual/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
84 DEPEND="${RDEPEND}
85 X? ( x11-proto/xproto )
86 java? ( test? ( =dev-java/junit-3.8* ) )"
87
88 S="${WORKDIR}/pl-${PV}"
89
90 src_prepare() {
91 EPATCH_FORCE=yes
92 EPATCH_SUFFIX=patch
93 epatch "${WORKDIR}"/${PV}
94 }
95
96 src_configure() {
97 append-flags -fno-strict-aliasing
98 use ppc && append-flags -mno-altivec
99 use hardened && append-flags -fno-unit-at-a-time
100 use debug && append-flags -DO_DEBUG
101
102 cd "${S}"/src
103 econf \
104 --libdir=/usr/$(get_libdir) \
105 $(use_enable gmp) \
106 $(use_enable readline) \
107 $(use_enable !static shared) \
108 --enable-custom-flags COFLAGS="${CFLAGS}"
109 }
110
111 src_compile() {
112 cd "${S}"/src
113 emake || die "emake failed"
114
115 if ! use minimal ; then
116 local jpltestconf
117 if use java && use test ; then
118 jpltestconf="--with-junit=$(java-config --classpath junit)"
119 fi
120
121 cd "${S}/packages"
122 econf \
123 --libdir=/usr/$(get_libdir) \
124 --with-chr \
125 --with-clib \
126 --with-clpqr \
127 --with-cpp \
128 --with-http \
129 $(use_with java jpl) \
130 ${jpltestconf} \
131 --with-nlp \
132 $(use_with odbc) \
133 --with-pldoc \
134 --with-plunit \
135 --with-protobufs \
136 --with-R \
137 --with-RDF \
138 --with-semweb \
139 --with-sgml \
140 $(use_with ssl) \
141 --with-table \
142 --with-tipc \
143 $(use_with X xpce) \
144 $(use_with zlib) \
145 COFLAGS='"${CFLAGS}"'
146
147 emake || die "packages emake failed"
148 fi
149 }
150
151 src_test() {
152 cd "${S}/src"
153 emake check || die "make check failed. See above for details."
154
155 if ! use minimal ; then
156 cd "${S}/packages"
157 emake check || die "make check failed. See above for details."
158 fi
159 }
160
161 src_install() {
162 emake -C src DESTDIR="${D}" install || die "install src failed"
163
164 if ! use minimal ; then
165 emake -C packages DESTDIR="${D}" install || die "install packages failed"
166 if use doc ; then
167 emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
168 fi
169 fi
170
171 dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
172 }