aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-03-15 13:19:01 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-03-18 10:45:10 +0100
commit093682b5867d4ecab7c1f0e2ff834d6068488210 (patch)
tree32c94d96e79203ee46e814d6857c9dbe1e58c2ba /dev-lang
parentnet-wireless/rtl8821ce: Same issues as previous commit (diff)
downloadguru-093682b5867d4ecab7c1f0e2ff834d6068488210.tar.gz
guru-093682b5867d4ecab7c1f0e2ff834d6068488210.tar.bz2
guru-093682b5867d4ecab7c1f0e2ff834d6068488210.zip
dev-lang/aldor: install headers in a subfolder
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/aldor/aldor-1.2.0_p20190730.ebuild13
1 files 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 ffecfcf9..8386e046 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