Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Dec 2011 05:28:19 +1030
From:      Wayne Sierke <ws@au.dyndns.ws>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-eclipse@freebsd.org
Subject:   Re: eclipse-devel installs symlinks to /usr/ports
Message-ID:  <1323284299.2387.9.camel@predator-ii.buffyverse>
In-Reply-To: <20111207031059.GA1002@misty.eyesbeyond.com>
References:  <op.v5tmk7xt8527sy@212-182-167-131.ip.telfort.nl> <20111207031059.GA1002@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-xPhoxkCda7W13JwlqYdJ
Content-Type: text/plain; charset="ASCII"
Content-Transfer-Encoding: 7bit

On Tue, 2011-12-06 at 19:10 -0800, Greg Lewis wrote:
> G'day Ronald,
> 
> On Thu, Dec 01, 2011 at 06:23:19PM +0100, Ronald Klop wrote:
> > Hi,
> > 
> > Plugins don't work after cleaning the port because of these symlinks.
> 
> I see the same thing :(.  I think there is an obvious hack we could put in
> the Makefile to fix that (a post-build or pre-install target that fixes
> these up), but I'd prefer to find the change we need to make in the eclipse
> build infrastructure.

Greg et al,

Is this just another rsync -l/-L issue? The attached patch seems to work
here.

-- 

Wayne


--=-xPhoxkCda7W13JwlqYdJ
Content-Disposition: attachment; filename="eclipse-devel-20111208.diff"
Content-Type: text/x-patch; name="eclipse-devel-20111208.diff"; charset="ASCII"
Content-Transfer-Encoding: 7bit

Index: files/patch-eclipse-build
===================================================================
RCS file: /home/ncvs/ports/java/eclipse-devel/files/patch-eclipse-build,v
retrieving revision 1.7
diff -u -r1.7 patch-eclipse-build
--- files/patch-eclipse-build   26 Nov 2011 21:45:18 -0000      1.7
+++ files/patch-eclipse-build   7 Dec 2011 18:25:26 -0000
@@ -158,6 +158,15 @@
  
                <!-- Extract SWT JNI .so files -->
                <java classname="org.eclipse.core.launcher.Main" fork="true" failonerror="true" dir="${destDir}">
+@@ -1031,7 +1032,7 @@
+ 
+                <!-- copy PDE and JDT to dropins -->
+                 <exec executable="rsync" failonerror="true">
+-                       <arg value="-vrpl" />
++                       <arg value="-vrpL" />
+                        <arg value="${provisionDir}/dropins/" />
+                        <arg value="${installationDir}/dropins/" />
+                 </exec>
 @@ -1064,8 +1065,8 @@
                        <arg value="s@/@_@g" />
                </exec>

--=-xPhoxkCda7W13JwlqYdJ--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1323284299.2387.9.camel>