Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2006 11:34:40 +0200
From:      Panagiotis Astithas <past@ebs.gr>
To:        Sean McNeil <sean@mcneil.com>
Cc:        freebsd-eclipse@freebsd.org
Subject:   Re: eclipse-cdt on amd64
Message-ID:  <43C22E30.7000705@ebs.gr>
In-Reply-To: <1136703725.30638.1.camel@triton.mcneil.com>
References:  <1136703725.30638.1.camel@triton.mcneil.com>

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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
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
help

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