summaryrefslogtreecommitdiff
path: root/dev-ml/camlidl/camlidl-1.12.ebuild
diff options
context:
space:
mode:
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