Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 08:07:09 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Jeremy Faulkner <gldisater@gldis.ca>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: HEADS UP: Eclipse 3.0 updated
Message-ID:  <20040726080709.406d591b.nork@FreeBSD.org>
In-Reply-To: <41042F42.80604@gldis.ca>
References:  <20040725171544.71dc613e.nork@FreeBSD.org> <41042F42.80604@gldis.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Jul 2004 18:08:02 -0400
Jeremy Faulkner <gldisater@gldis.ca> wrote:
> > Hi eclipse user and maintainer.
> > 	I updated Eclipse 3.0 and related ports, so then some ports
> > 	was broken.  Please fix these ports! :-)
> > 	If you find a problem, please report to java@ and nork@.
> WITH_MOTIF=yes fails to detect that kdebase is not present on the system 
> and will always attempt to compile it. An earlier patch I submitted 
> removed the kde swt lib from the build, this patch corrects the pkg_info 
> check for kdebase.
> The "no packages match pattern" is going to stderr not stdout and so 
> will not be caught. However if there is a package installed the 
> outputted information does go to stdout.

	Hum... How about following patch?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--- Makefile.orig	Mon Jul 26 01:27:30 2004
+++ Makefile	Mon Jul 26 08:05:10 2004
@@ -71,7 +71,7 @@
 
 # The Motif version builds a KDE/Qt library if kdebase is around
 .if defined(WITH_MOTIF)
-BUILD_KDE=`${PKG_INFO} -xc kdebase | ${GREP} "no packages match"`
+BUILD_KDE=`${PKG_INFO} -xc kdebase | ${GREP} "no packages match" 2>&1`
 .if empty(${BUILD_KDE})
 PLIST_SUB+=	KDE:=""
 .else
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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