From 093682b5867d4ecab7c1f0e2ff834d6068488210 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 15 Mar 2020 13:19:01 +0100 Subject: dev-lang/aldor: install headers in a subfolder Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri --- dev-lang/aldor/aldor-1.2.0_p20190730.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild index ffecfcf98..8386e046c 100644 --- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild +++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild @@ -68,7 +68,10 @@ src_prepare() { } src_configure() { + #install headers in a subfolder to avoid collisions with another packages local myconf=( + --prefix="${EPREFIX}/usr" + --includedir="${EPREFIX}/usr/include/aldor" --disable-static --enable-libraries --enable-shared @@ -81,10 +84,11 @@ src_configure() { src_compile() { if use doc ; then - ( cd "${S}/aldorug"; emake aldorug.pdf ) || die "make aldorug.pdf failed" - ( cd "${S}/lib/aldor/tutorial" - pdflatex tutorial.tex - pdflatex tutorial.tex ) || die "make tutorial.pdf failed" + cd "${S}/aldorug" + emake aldorug.pdf || die "make aldorug.pdf failed" + + cd "${S}/lib/aldor/tutorial" + pdflatex tutorial.tex || die "make tutorial.pdf failed" fi cd "${S}" if use emacs ; then @@ -93,7 +97,6 @@ src_compile() { if use doc ; then einfo "Documentation for the aldor emacs mode" noweave "aldor.el.nw" > aldor-mode.tex - pdflatex aldor-mode.tex pdflatex aldor-mode.tex || die "make aldor-mode.pdf failed" fi fi -- cgit v1.2.3-65-gdbad