From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 10 07:56:36 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD9B416A41F for ; Tue, 10 Jan 2006 07:56:36 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD3CC43D45 for ; Tue, 10 Jan 2006 07:56:35 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0A7uUAF062190; Tue, 10 Jan 2006 09:56:30 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0A7vJAY058797; Tue, 10 Jan 2006 09:57:20 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43C368AC.5020007@ebs.gr> Date: Tue, 10 Jan 2006 09:56:28 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sean McNeil References: <1136703725.30638.1.camel@triton.mcneil.com> <43C22E30.7000705@ebs.gr> <1136834432.8418.2.camel@triton.mcneil.com> In-Reply-To: <1136834432.8418.2.camel@triton.mcneil.com> Content-Type: multipart/mixed; boundary="------------020603030708080204050306" Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-cdt on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2006 07:56:36 -0000 This is a multi-part message in MIME format. --------------020603030708080204050306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sean McNeil wrote: > On Mon, 2006-01-09 at 11:34 +0200, Panagiotis Astithas wrote: > >>Sean McNeil wrote: >> >>>Can someone please fix this port? It worked fine until a recent update: >>> >>>=> eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is not >>>in /usr/ports/java/eclipse-cdt/distinfo. >>>=> Either /usr/ports/java/eclipse-cdt/distinfo is out of date, or >>>=> eclipse/org.eclipse.cdt.sdk-3.0.1-linux.amd64.tar.gz is spelled >>>incorrectly. >>>*** Error code 1 >>> >>>Stop in /usr/ports/java/eclipse-cdt. >> >>Sorry, this is my fault. Unfortunately, the proper fix would be to port >>the native library patches to amd64, but lacking the proper hardware I >>am unable to do it myself. However, perhaps the attached patch could >>make things functional again, at least as they were before. Can you try >>it and let me know how it goes? > > > Yes, that got me back on track. Interesting that I haven't hit the > issues related to x86 vs. amd64 yet, but I haven't stressed things that > much. > > Too bad you do not have any amd64 hardware. It would be real nice to > have your support on this platform. OK, can you try this patch too, please? It is supposed to DTRT when uninstalling eclipse-cdt for both platforms, unlike the previous one I sent you. I'd like you to try both a 'make install' and 'make deinstall' and let me know if there are any warnings. You should definitely get a warning when uninstalling the version from my previous patch, but It should be fixed now. Thanks, Panagiotis --------------020603030708080204050306 Content-Type: text/x-patch; name="eclipse-cdt.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="eclipse-cdt.patch" diff -ruN /usr/ports/java/eclipse-cdt/Makefile eclipse-cdt/Makefile --- /usr/ports/java/eclipse-cdt/Makefile Tue Jan 3 05:26:38 2006 +++ eclipse-cdt/Makefile Tue Jan 10 09:45:09 2006 @@ -10,7 +10,7 @@ CATEGORIES= java devel MASTER_SITES= http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/${PORTVERSION}/ PKGNAMEPREFIX= eclipse- -DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.${ECLIPSE_ARCH} +DISTNAME= org.eclipse.cdt.sdk-${PORTVERSION}-linux.x86 DIST_SUBDIR= eclipse MAINTAINER= freebsd-eclipse@FreeBSD.org @@ -31,6 +31,8 @@ ECLIPSE_ARCH= amd64 .else ECLIPSE_ARCH= x86 +PLIST_FILES+= eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so \ + eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libspawner.so .endif MAKE_ENV+= ECLIPSE_ARCH=${ECLIPSE_ARCH} \ @@ -44,8 +46,10 @@ @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core.freebsd_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.core_${PORTVERSION}/*.orig @${RM} ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_${PORTVERSION}/*.orig +.if (${ARCH} == "i386") @(cd ${WRKSRC}/eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_${PORTVERSION}/src/org.eclipse.cdt.core.freebsd_${PORTVERSION}/library; \ ${SETENV} ${MAKE_ENV} ${GMAKE}) +.endif do-install: @${MKDIR} ${PREFIX}/eclipse diff -ruN /usr/ports/java/eclipse-cdt/pkg-plist eclipse-cdt/pkg-plist --- /usr/ports/java/eclipse-cdt/pkg-plist Tue Jan 3 05:28:05 2006 +++ eclipse-cdt/pkg-plist Tue Jan 10 09:44:27 2006 @@ -531,8 +531,6 @@ eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.properties eclipse/plugins/org.eclipse.cdt.core_3.0.1/about.html eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.xml -eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libspawner.so -eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/os/freebsd/x86/libpty.so eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/about.html eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/fragment.xml eclipse/plugins/org.eclipse.cdt.core.freebsd_3.0.1/cdt_linux.jar --------------020603030708080204050306--