public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew John Hughes" <gnu_andrew@member.fsf.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/java:master commit in: dev-java/cacao/
Date: Thu,  3 Jan 2019 05:04:22 +0000 (UTC)	[thread overview]
Message-ID: <1546491814.bce5025738d771b4931527f10d7932c7f5ab0f98.gnu_andrew@gentoo> (raw)

commit:     bce5025738d771b4931527f10d7932c7f5ab0f98
Author:     Andrew John Hughes <gnu_andrew <AT> member <DOT> fsf <DOT> org>
AuthorDate: Tue Nov  6 20:14:07 2018 +0000
Commit:     Andrew John Hughes <gnu_andrew <AT> member <DOT> fsf <DOT> org>
CommitDate: Thu Jan  3 05:03:34 2019 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=bce50257

dev-java/cacao: Use relative symlinks as suggested by repoman

Package-Manager: Portage-2.3.50, Repoman-2.3.10

Signed-off-by: Andrew John Hughes <gnu_andrew <AT> member.fsf.org>

 dev-java/cacao/ChangeLog             |  4 ++++
 dev-java/cacao/cacao-1.6.0-r4.ebuild | 16 ++++++++--------
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/dev-java/cacao/ChangeLog b/dev-java/cacao/ChangeLog
index 0512ca95..0451cb93 100644
--- a/dev-java/cacao/ChangeLog
+++ b/dev-java/cacao/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2018 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-java/cacao/ChangeLog,v 1.22 2012/06/14 21:25:44 radhermit Exp $
 
+  06 Nov 2018; Andrew John Hughes <gnu_andrew@member.fsf.org>
+  cacao-1.6.0-r4.ebuild:
+  dev-java/cacao: Use relative symlinks as suggested by repoman
+
 *cacao-1.6.0-r4 (03 Nov 2018)
 
   03 Nov 2018; Andrew John Hughes <gnu_andrew@member.fsf.org>

diff --git a/dev-java/cacao/cacao-1.6.0-r4.ebuild b/dev-java/cacao/cacao-1.6.0-r4.ebuild
index 1c56a1d1..8b57d2b5 100644
--- a/dev-java/cacao/cacao-1.6.0-r4.ebuild
+++ b/dev-java/cacao/cacao-1.6.0-r4.ebuild
@@ -61,16 +61,16 @@ src_install() {
 
 	emake DESTDIR="${D}" install || die "make install failed"
 	dodir /usr/bin
-	dosym /usr/libexec/${PN}/cacao /usr/bin/cacao || die
+	dosym ../libexec/${PN}/cacao /usr/bin/cacao || die
 	dodoc AUTHORS ChangeLog* NEWS README || die "failed to install docs"
 
 	dodir ${JDK_DIR}/bin
-	dosym /usr/libexec/${PN}/cacao ${JDK_DIR}/bin/java
+	dosym ../../../libexec/${PN}/cacao ${JDK_DIR}/bin/java
 
 	dodir ${JDK_DIR}/jre/lib
-	dosym /usr/share/classpath/glibj.zip ${JDK_DIR}/jre/lib/rt.jar
+	dosym ../../../../share/classpath/glibj.zip ${JDK_DIR}/jre/lib/rt.jar
 	dodir ${JDK_DIR}/lib
-	dosym /usr/share/classpath/tools.zip ${JDK_DIR}/lib/tools.jar
+	dosym ../../../share/classpath/tools.zip ${JDK_DIR}/lib/tools.jar
 
 	exeinto ${JDK_DIR}/bin
 	for files in ${CLASSPATH_DIR}/g*; do
@@ -97,15 +97,15 @@ src_install() {
 	[ ${ARCH} == x86_64 ] && libarch="amd64"
 	dodir ${JDK_DIR}/jre/lib/${libarch}/client
 	dodir ${JDK_DIR}/jre/lib/${libarch}/server
-	dosym /usr/${libdir}/${PN}/libjvm.so ${JDK_DIR}/jre/lib/${libarch}/client/libjvm.so
-	dosym /usr/${libdir}/${PN}/libjvm.so ${JDK_DIR}/jre/lib/${libarch}/server/libjvm.so
-	dosym /usr/${libdir}/classpath/libjawt.so ${JDK_DIR}/jre/lib/${libarch}/libjawt.so
+	dosym ../../../../../../${libdir}/${PN}/libjvm.so ${JDK_DIR}/jre/lib/${libarch}/client/libjvm.so
+	dosym ../../../../../../${libdir}/${PN}/libjvm.so ${JDK_DIR}/jre/lib/${libarch}/server/libjvm.so
+	dosym ../../../../../${libdir}/classpath/libjawt.so ${JDK_DIR}/jre/lib/${libarch}/libjawt.so
 	set_java_env
 
 	# Can't use java-vm_set-pax-markings as doesn't work with symbolic links
 	# Ensure a PaX header is created.
 	local pax_markings="C"
-	# Usally disabeling MPROTECT is sufficent.
+	# Usually dislabeling MPROTECT is sufficent.
 	local pax_markings+="m"
 	# On x86 for heap sizes over 700MB disable SEGMEXEC and PAGEEXEC as well.
 	use x86 && pax_markings+="sp"


             reply	other threads:[~2019-01-03  5:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03  5:04 Andrew John Hughes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-05 11:06 [gentoo-commits] proj/java:master commit in: dev-java/cacao/ Florian Schmaus
2019-01-03  5:04 Andrew John Hughes
2015-07-08 19:34 Andrew John Hughes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1546491814.bce5025738d771b4931527f10d7932c7f5ab0f98.gnu_andrew@gentoo \
    --to=gnu_andrew@member.fsf.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox