summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-05-09 15:57:05 +1200
committerKent Fredric <kentnl@gentoo.org>2017-05-10 23:45:40 +1200
commit30df8e9215303e8bd6213e2005c6c9e15d7856d0 (patch)
treeb98fbed74e579238f3f60021661b6ffda02372c1 /dev-java
parentdev-vcs/tortoisehg: Removed old. (diff)
downloadgentoo-30df8e9215303e8bd6213e2005c6c9e15d7856d0.tar.gz
gentoo-30df8e9215303e8bd6213e2005c6c9e15d7856d0.tar.bz2
gentoo-30df8e9215303e8bd6213e2005c6c9e15d7856d0.zip
dev-java/leiningen-bin: Fix prefix support and add ~x64-macos
~x64-macos tested by Yegor Timoshenko Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/leiningen-bin/leiningen-bin-2.7.1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/leiningen-bin/leiningen-bin-2.7.1.ebuild b/dev-java/leiningen-bin/leiningen-bin-2.7.1.ebuild
index 807741b31949..a6a5f01087f0 100644
--- a/dev-java/leiningen-bin/leiningen-bin-2.7.1.ebuild
+++ b/dev-java/leiningen-bin/leiningen-bin-2.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="EPL-1.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
RDEPEND=">=virtual/jdk-1.6:*"
DEPEND=">=virtual/jdk-1.6:*"
@@ -45,7 +45,7 @@ src_prepare() {
einfo "Patching lein"
java-pkg_init_paths_
- sed -i "s|^LEIN_JAR=.*$|LEIN_JAR=${JAVA_PKG_JARDEST}/${PN}.jar|" "${S}/lein" \
+ sed -i "s|^LEIN_JAR=.*$|LEIN_JAR=${EPREFIX}/${JAVA_PKG_JARDEST#/}/${PN}.jar|" "${S}/lein" \
|| die "Can't patch LEIN_JAR in lein"
default