mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-ml/*: remove vendored csexp and pp before the build process
Closes: https://bugs.gentoo.org/940360 Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38801 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
+1
-3
@@ -25,9 +25,7 @@ RDEPEND="${DEPEND}"
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# This enables dune-configurator to use the vendored csexp module
|
||||
sed -i 's/stdune.csexp/dune-configurator.csexp/' \
|
||||
vendor/csexp/src/dune || die
|
||||
rm -r vendor/{csexp,pp} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
+7
@@ -20,6 +20,7 @@ RESTRICT="test"
|
||||
BDEPEND=">=dev-ml/dune-3.12"
|
||||
DEPEND="
|
||||
dev-ml/csexp:=[ocamlopt?]
|
||||
>=dev-ml/pp-1.2.0:=[ocamlopt?]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!dev-ml/stdune
|
||||
@@ -27,6 +28,12 @@ RDEPEND="${DEPEND}
|
||||
!dev-ml/ordering
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -r vendor/{csexp,pp} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
Reference in New Issue
Block a user