Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139901 Details for
Bug 204110
app-misc/geneweb-5.01 bump plus optional ocamlopt support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild diff
geneweb_bump.patch (text/plain), 1.54 KB, created by
Alexis Ballier
on 2008-01-02 19:43:37 UTC
(
hide
)
Description:
ebuild diff
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2008-01-02 19:43:37 UTC
Size:
1.54 KB
patch
obsolete
>--- geneweb-5.00.ebuild 2007-08-28 19:23:02.000000000 +0200 >+++ geneweb-5.01.ebuild 2008-01-02 20:36:39.000000000 +0100 >@@ -4,6 +4,8 @@ > > inherit eutils > >+EAPI="1" >+ > DESCRIPTION="Genealogy software program with a Web interface." > HOMEPAGE="http://cristal.inria.fr/~ddr/GeneWeb/" > SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/${PN}/Src/${P}.tgz" >@@ -11,18 +13,40 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="" >+IUSE="+ocamlopt" >+ >+DEPEND="dev-lang/ocaml >+ dev-ml/camlp5" > >-DEPEND="dev-lang/ocaml" >+pkg_setup() { >+ if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then >+ eerror "In order to build ${PN} with native code support from ocaml" >+ eerror "You first need to have a native code ocaml compiler." >+ eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." >+ die "Please install ocaml with ocamlopt useflag" >+ fi >+} > > src_unpack() { > unpack ${A} > cd "${S}" >- epatch "${FILESDIR}"/${P}-gentoo.patch >+ epatch "${FILESDIR}"/${PN}-5.00-gentoo.patch > sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ > setup/setup.ml || die "Failed sed for gentoo path" > } > >+src_compile() { >+ econf >+ if use ocamlopt; then >+ emake || die "Compiling native code executables failed" >+ else >+ emake OCAMLC="ocamlc" out || die "Compiling native code executables failed" >+ # If using bytecode we dont want to strip the binary as it would remove the >+ # bytecode and only leave ocamlrun... >+ export STRIP_MASK="*/bin/*" >+ fi >+} >+ > src_install() { > # Install binaries > dobin src/{consang,check_base,gwc,gwd,gwu} \
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204110
: 139901