From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 9 09:34:46 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 7B02016A420 for ; Mon, 9 Jan 2006 09:34:46 +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 5462443D45 for ; Mon, 9 Jan 2006 09:34:44 +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 k099YgAF058480; Mon, 9 Jan 2006 11:34:42 +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 k099ZVDp039479; Mon, 9 Jan 2006 11:35:32 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43C22E30.7000705@ebs.gr> Date: Mon, 09 Jan 2006 11:34:40 +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> In-Reply-To: <1136703725.30638.1.camel@triton.mcneil.com> Content-Type: multipart/mixed; boundary="------------040200090004050306050907" 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: Mon, 09 Jan 2006 09:34:46 -0000 This is a multi-part message in MIME format. --------------040200090004050306050907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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? Thanks, Panagiotis --------------040200090004050306050907 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 Mon Jan 9 11:19:34 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 @@ -44,8 +44,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 --------------040200090004050306050907--