summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-17 17:56:28 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-17 17:57:11 +0200
commitb05fc288cb8b51f7ca14f758dd52392c1bfdf368 (patch)
tree8e1f89b9caac70121db1bd04dfecb1a3e14a7684 /dev-ml/camlidl/camlidl-1.12.ebuild
parentdev-ml/core_unix: add missing patch file (diff)
downloadgentoo-b05fc288cb8b51f7ca14f758dd52392c1bfdf368.tar.gz
gentoo-b05fc288cb8b51f7ca14f758dd52392c1bfdf368.tar.bz2
gentoo-b05fc288cb8b51f7ca14f758dd52392c1bfdf368.zip
dev-ml/camlidl: fix install, rm old versions
Closes: https://bugs.gentoo.org/934424 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/camlidl/camlidl-1.12.ebuild')
-rw-r--r--dev-ml/camlidl/camlidl-1.12.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ml/camlidl/camlidl-1.12.ebuild b/dev-ml/camlidl/camlidl-1.12.ebuild
index 949d6d9386a7..08e45566bf79 100644
--- a/dev-ml/camlidl/camlidl-1.12.ebuild
+++ b/dev-ml/camlidl/camlidl-1.12.ebuild
@@ -20,6 +20,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/nowarn.patch"
+ "${FILESDIR}/${P}-destdir.patch"
)
src_prepare() {
@@ -56,7 +57,7 @@ src_install() {
dodir /usr/bin
dodir /usr/$(get_libdir)/ocaml/stublibs
# Install
- emake BINDIR="${ED}/usr/bin" OCAMLLIB="${D}${libdir}" RANLIB="$(tc-getRANLIB)" install
+ emake DESTDIR="${D}" BINDIR="${ED}/usr/bin" RANLIB="$(tc-getRANLIB)" install
# Add package header
sed -e "s/@VERSION/${P}/g" "${FILESDIR}/META.camlidl" > "${D}${libdir}/META.camlidl" || die