mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ml/camlidl: use cpp from make.conf
Closes: https://bugs.gentoo.org/933215 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -9,6 +9,8 @@ DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'C
|
||||
HOMEPAGE="http://caml.inria.fr/camlidl/"
|
||||
SRC_URI="https://github.com/xavierleroy/${PN}/archive/${PN}$(ver_rs 0-1 '').tar.gz"
|
||||
|
||||
S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
@@ -16,8 +18,6 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/nowarn.patch"
|
||||
"${FILESDIR}"/${P}.parallelMake.patch
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -9,6 +9,8 @@ DESCRIPTION="Stub code generator for OCaml"
|
||||
HOMEPAGE="https://github.com/xavierleroy/camlidl"
|
||||
SRC_URI="https://github.com/xavierleroy/${PN}/archive/${PN}$(ver_rs 0-1 '').tar.gz"
|
||||
|
||||
S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
|
||||
@@ -16,8 +18,6 @@ KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
|
||||
DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/nowarn.patch"
|
||||
)
|
||||
@@ -39,8 +39,8 @@ src_compile() {
|
||||
ln -s Makefile.unix config/Makefile || die
|
||||
|
||||
# Make
|
||||
emake depend
|
||||
emake -j1 RANLIB="$(tc-getRANLIB)" CPP="$(tc-getPROG CPP cpp)"
|
||||
emake depend CPP="$(tc-getPROG CPP cpp)"
|
||||
emake -j1 RANLIB="$(tc-getRANLIB)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Reference in New Issue
Block a user