Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 19308 Details for
Bug 31265
ocaml 3.07 bug-fix patch #2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ocaml-3.07-r1.ebuild
ocaml-3.07-r1.ebuild (text/plain), 1.73 KB, created by
José Romildo Malaquias
on 2003-10-16 04:34:28 UTC
(
hide
)
Description:
ocaml-3.07-r1.ebuild
Filename:
MIME Type:
Creator:
José Romildo Malaquias
Created:
2003-10-16 04:34:28 UTC
Size:
1.73 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.07.ebuild,v 1.2 2003/10/06 23:51:34 weeve Exp $ > >inherit flag-o-matic eutils >filter-flags "-fstack-protector" > >DESCRIPTION="fast modern type-inferring functional programming language descended from the ML (Meta Language) family" >HOMEPAGE="http://www.ocaml.org/" > >SRC_URI="http://caml.inria.fr/distrib/${P}/${P}.tar.gz > http://caml.inria.fr/distrib/${P}/${P}-patch2.diffs" > >LICENSE="QPL-1.0 LGPL-2" >SLOT="0" >KEYWORDS="~x86 ~sparc ~ppc ~alpha" >IUSE="tcltk" > >DEPEND="virtual/glibc > tcltk? ( >=dev-lang/tk-3.3.3 )" > >src_unpack() { > unpack ${A} > cd ${S} > # This patch (against OCaml 3.07) fixes the following issues: > # - Camlp4: parsing of labeled function arguments. > # - Emacs interface: portability issues between versions of GnuEmacs and XEmacs. > # - Incorrect code generated for certain recursive module definitions. > # - Name pollution issue on Mac OS X 10.3. > epatch ${DISTDIR}/${P}-patch2.diffs || die > grep -rle "head -1" . | xargs sed -i "s:head -1:head -n 1:g" >} > >src_compile() { > local myconf > use tcltk || myconf="-no-tk" > > # Fix for bug #23767. > if [ "${ARCH}" = "sparc" ]; then > myconf="${myconf} -host sparc-unknown-linux-gnu" > fi > > ./configure -prefix /usr \ > -bindir /usr/bin \ > -libdir /usr/lib/ocaml \ > -mandir /usr/share/man \ > --with-pthread ${myconf} || die > > make world || die > make opt || die > make opt.opt || die >} > >src_install() { > make BINDIR=${D}/usr/bin \ > LIBDIR=${D}/usr/lib/ocaml \ > MANDIR=${D}/usr/share/man \ > install || die > > # silly, silly makefiles > dosed "s:${D}::g" /usr/lib/ocaml/ld.conf > > # documentation > dodoc Changes INSTALL LICENSE README Upgrading >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 31265
: 19308