Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/brltty: brltty-3.9.ebuild ChangeLog
Date: Fri, 11 Jan 2008 03:42:07
Message-Id: E1JDAmR-0001In-GS@stork.gentoo.org
1 williamh 08/01/11 03:42:03
2
3 Modified: brltty-3.9.ebuild ChangeLog
4 Log:
5 Fixed building with the ocaml use flag -- bug #204789.
6 (Portage version: 2.1.4_rc14)
7
8 Revision Changes Path
9 1.3 app-accessibility/brltty/brltty-3.9.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild?r1=1.2&r2=1.3
14
15 Index: brltty-3.9.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- brltty-3.9.ebuild 6 Jan 2008 07:05:20 -0000 1.2
22 +++ brltty-3.9.ebuild 11 Jan 2008 03:42:02 -0000 1.3
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild,v 1.2 2008/01/06 07:05:20 mr_bones_ Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild,v 1.3 2008/01/11 03:42:02 williamh Exp $
28
29 inherit eutils multilib toolchain-funcs
30
31 @@ -18,7 +18,7 @@
32 iconv? ( virtual/libiconv )
33 java? ( virtual/jdk )
34 nls? ( virtual/libintl )
35 - ocaml? ( >=dev-lang/ocaml-3.09.3-r1 )
36 + ocaml? ( >=dev-ml/findlib-1.0.4-r1 )
37 python? ( >=dev-python/pyrex-0.9.4.1 )
38 tcl? ( >=dev-lang/tcl-8.4.15 )
39 usb? ( >=dev-libs/libusb-0.1.12-r1 )
40 @@ -40,7 +40,39 @@
41 emake || die
42 }
43
44 +# The following was copied from findlib.eclass so that we don't force a
45 +# dependency on dev-ml/findlib unless the ml use flag is on.
46 +
47 +check_ocamlfind() {
48 + if [ ! -x /usr/bin/ocamlfind ]
49 + then
50 + ewarn "In findlib.eclass: could not find the ocamlfind executable"
51 + ewarn "Please report this bug on gentoo's bugzilla, assigning to ml@g.o"
52 + exit 1
53 + fi
54 +}
55 +
56 +# Prepare the image for a findlib installation.
57 +# We use the stublibs style, so no ld.conf needs to be
58 +# updated when a package installs C shared libraries.
59 +findlib_src_preinst() {
60 + check_ocamlfind
61 +
62 + # destdir is the ocaml sitelib
63 + local destdir=`ocamlfind printconf destdir`
64 +
65 + dodir ${destdir} || die "dodir failed"
66 + export OCAMLFIND_DESTDIR=${D}${destdir}
67 +
68 + # stublibs style
69 + dodir ${destdir}/stublibs || die "dodir failed"
70 + export OCAMLFIND_LDCONF=ignore
71 +}
72 +
73 src_install() {
74 + if use ocaml; then
75 + findlib_src_preinst
76 + fi
77 make INSTALL_PROGRAM="\${INSTALL_SCRIPT}" INSTALL_ROOT="${D}" install || die
78
79 cd Documents
80
81
82
83 1.68 app-accessibility/brltty/ChangeLog
84
85 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/ChangeLog?rev=1.68&view=markup
86 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/ChangeLog?rev=1.68&content-type=text/plain
87 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/ChangeLog?r1=1.67&r2=1.68
88
89 Index: ChangeLog
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v
92 retrieving revision 1.67
93 retrieving revision 1.68
94 diff -u -r1.67 -r1.68
95 --- ChangeLog 5 Jan 2008 22:46:49 -0000 1.67
96 +++ ChangeLog 11 Jan 2008 03:42:02 -0000 1.68
97 @@ -1,6 +1,9 @@
98 # ChangeLog for app-accessibility/brltty
99 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
100 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.67 2008/01/05 22:46:49 williamh Exp $
101 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.68 2008/01/11 03:42:02 williamh Exp $
102 +
103 + 11 Jan 2008; William Hubbs <williamh@g.o> brltty-3.9.ebuild:
104 + Fixed building with the ocaml use flag -- bug #204789.
105
106 *brltty-3.9 (05 Jan 2008)
107
108
109
110
111 --
112 gentoo-commits@l.g.o mailing list