Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/yap: ChangeLog yap-5.1.3-r2.ebuild
Date: Mon, 02 Mar 2009 00:27:56
Message-Id: E1Ldw0O-0008Ik-2i@stork.gentoo.org
1 patrick 09/03/02 00:27:36
2
3 Modified: ChangeLog
4 Added: yap-5.1.3-r2.ebuild
5 Log:
6 Fixing fcc 4.3.3 / fortify_sources error. Patch from Ubuntu. Closes #260180
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.26 dev-lang/yap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/yap/ChangeLog?rev=1.26&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/yap/ChangeLog?rev=1.26&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/yap/ChangeLog?r1=1.25&r2=1.26
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v
19 retrieving revision 1.25
20 retrieving revision 1.26
21 diff -u -r1.25 -r1.26
22 --- ChangeLog 24 Jan 2009 21:24:09 -0000 1.25
23 +++ ChangeLog 2 Mar 2009 00:27:35 -0000 1.26
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-lang/yap
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.25 2009/01/24 21:24:09 keri Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.26 2009/03/02 00:27:35 patrick Exp $
29 +
30 +*yap-5.1.3-r2 (02 Mar 2009)
31 +
32 + 02 Mar 2009; Patrick Lauer <patrick@g.o>
33 + +files/yap-5.1.3-fortify_sources-ubuntu.patch, +yap-5.1.3-r2.ebuild:
34 + Fixing fcc 4.3.3 / fortify_sources error. Patch from Ubuntu. Closes
35 + #260180
36
37 24 Jan 2009; <keri@g.o> files/yap-5.1.3-configure.patch,
38 +files/yap-5.1.3-dynamic-lib.patch, yap-5.1.3-r1.ebuild:
39
40
41
42 1.1 dev-lang/yap/yap-5.1.3-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/yap/yap-5.1.3-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/yap/yap-5.1.3-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: yap-5.1.3-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-5.1.3-r2.ebuild,v 1.1 2009/03/02 00:27:35 patrick Exp $
52
53 inherit autotools eutils java-pkg-opt-2
54
55 MY_P="Yap-${PV}"
56
57 DESCRIPTION="YAP is a high-performance Prolog compiler."
58 HOMEPAGE="http://www.ncc.up.pt/~vsc/Yap/"
59 SRC_URI="http://www.ncc.up.pt/~vsc/Yap/current/Yap-5.1.3.tar.gz"
60
61 LICENSE="Artistic LGPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="debug doc examples gmp java mpi mysql odbc readline static tk threads"
65
66 DEPEND="gmp? ( dev-libs/gmp )
67 java? ( >=virtual/jdk-1.4 )
68 mpi? ( virtual/mpi )
69 mysql? ( virtual/mysql )
70 odbc? ( dev-db/unixODBC )
71 readline? ( sys-libs/readline )
72 doc? ( app-text/texi2html )"
73
74 RDEPEND="${DEPEND}
75 tk? ( dev-lang/tk )"
76
77 S="${WORKDIR}"/${MY_P}
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 epatch "${FILESDIR}"/${P}-config.h.patch
83 epatch "${FILESDIR}"/${P}-configure.patch
84 epatch "${FILESDIR}"/${P}-multilib.patch
85 epatch "${FILESDIR}"/${P}-parallel-make.patch
86 epatch "${FILESDIR}"/${P}-dynamic-lib.patch
87 epatch "${FILESDIR}"/${P}-bootdir.patch
88 epatch "${FILESDIR}"/${P}-chr.patch
89 epatch "${FILESDIR}"/${P}-clpbn-examples.patch
90 epatch "${FILESDIR}"/${P}-tkyap.patch
91 epatch "${FILESDIR}"/${P}-fortify_sources-ubuntu.patch
92
93 eautoconf
94 }
95
96 src_compile() {
97 econf \
98 --libdir=/usr/$(get_libdir) \
99 --enable-cut-c \
100 $(use_enable !static dynamic-loading) \
101 $(use_enable threads) \
102 $(use_enable threads pthread-locking) \
103 $(use_enable debug debug-yap) \
104 $(use_enable debug low-level-tracer) \
105 $(use_enable mysql myddas-mysql) \
106 $(use_enable mysql myddas-stats) \
107 $(use_enable mysql myddas-top-level) \
108 $(use_enable odbc myddas-odbc) \
109 $(use_with gmp) \
110 $(use_with readline) \
111 $(use_with mpi) \
112 $(use_with mpi mpe) \
113 $(use_with java jpl) \
114 || die "econf failed"
115
116 emake || die "emake failed"
117
118 if use doc ; then
119 emake html || die "emake html failed"
120 fi
121 }
122
123 src_install() {
124 emake DESTDIR="${D}" install || die "make install failed."
125
126 if use tk ; then
127 exeinto /usr/bin
128 doexe misc/tkyap
129 fi
130
131 dodoc changes*.html README
132
133 if use doc ; then
134 dodoc yap.html
135 fi
136
137 if use examples ; then
138 docinto examples/clpbn
139 dodoc CLPBN/clpbn/examples/*.yap
140 docinto examples/clpbn/school
141 dodoc CLPBN/clpbn/examples/School/*.yap
142 if use mpi ; then
143 docinto examples/mpi
144 dodoc library/mpi/examples/*.pl
145 fi
146 fi
147 }