commit: b1ea7fb609c127ae28294574c3d95861951f2616
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 31 07:52:59 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 08:07:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ea7fb6
dev-embedded/arduino: Fix AbsoluteSymlink
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-embedded/arduino/arduino-1.8.5-r2.ebuild | 10 +++++-----
dev-embedded/arduino/arduino-1.8.7.ebuild | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev-embedded/arduino/arduino-1.8.5-r2.ebuild
b/dev-embedded/arduino/arduino-1.8.5-r2.ebuild
index f058950e8fc..e958a4d4191 100644
--- a/dev-embedded/arduino/arduino-1.8.5-r2.ebuild
+++ b/dev-embedded/arduino/arduino-1.8.5-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -134,9 +134,9 @@ src_install() {
# In upstream's build process, we copy these fiels below from the
bundled arduino-builder.
# Here we do the same thing, but from the system arduino-builder.
- dosym "${EPREFIX}/usr/share/arduino-builder/platform.txt"
"${SHARE}/hardware/platform.txt"
- dosym "${EPREFIX}/usr/share/arduino-builder/platform.keys.rewrite.txt"
"${SHARE}/hardware/platform.keys.rewrite.txt"
- dosym "${EPREFIX}/usr/bin/arduino-builder" "${SHARE}/arduino-builder"
+ dosym "../../arduino-builder/platform.txt"
"${SHARE}/hardware/platform.txt"
+ dosym "../../arduino-builder/platform.keys.rewrite.txt"
"${SHARE}/hardware/platform.keys.rewrite.txt"
+ dosym "../../../bin/arduino-builder" "${SHARE}/arduino-builder"
# hardware/tools/avr needs to exist or arduino-builder will
# complain about missing required -tools arg
@@ -147,7 +147,7 @@ src_install() {
einstalldocs
# arduino expects its doc in its "main" directory. symlink it.
- dosym "${EPREFIX}/usr/share/doc/${PF}/html/reference"
"${SHARE}/reference"
+ dosym "../doc/${PF}/html/reference" "${SHARE}/reference"
fi
# Install menu and icons
diff --git a/dev-embedded/arduino/arduino-1.8.7.ebuild
b/dev-embedded/arduino/arduino-1.8.7.ebuild
index 6a1c9a5f055..8872bdc6b90 100644
--- a/dev-embedded/arduino/arduino-1.8.7.ebuild
+++ b/dev-embedded/arduino/arduino-1.8.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -111,9 +111,9 @@ src_install() {
# In upstream's build process, we copy these fiels below from the
bundled arduino-builder.
# Here we do the same thing, but from the system arduino-builder.
- dosym "${EPREFIX}/usr/share/arduino-builder/platform.txt"
"/usr/share/${PN}/hardware/platform.txt"
- dosym "${EPREFIX}/usr/share/arduino-builder/platform.keys.rewrite.txt"
"/usr/share/${PN}/hardware/platform.keys.rewrite.txt"
- dosym "${EPREFIX}/usr/bin/arduino-builder"
"/usr/share/${PN}/arduino-builder"
+ dosym "../../arduino-builder/platform.txt"
"/usr/share/${PN}/hardware/platform.txt"
+ dosym "../../arduino-builder/platform.keys.rewrite.txt"
"/usr/share/${PN}/hardware/platform.keys.rewrite.txt"
+ dosym "../../../bin/arduino-builder" "/usr/share/${PN}/arduino-builder"
# hardware/tools/avr needs to exist or arduino-builder will
# complain about missing required -tools arg
@@ -124,7 +124,7 @@ src_install() {
einstalldocs
# arduino expects its doc in its "main" directory. symlink it.
- dosym "${EPREFIX}/usr/share/doc/${PF}/html/reference"
"/usr/share/${PN}/reference"
+ dosym "../doc/${PF}/html/reference" "/usr/share/${PN}/reference"
fi
# Install menu and icons