From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 16:14:26 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B83F216A4CE; Sun, 15 Feb 2004 16:14:26 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADE8443D1D; Sun, 15 Feb 2004 16:14:26 -0800 (PST) (envelope-from islero@comcast.net) Received: from [192.168.1.149] (c-24-7-110-17.client.comcast.net[24.7.110.17]) by comcast.net (rwcrmhc11) with SMTP id <20040216001426013009t3sje>; Mon, 16 Feb 2004 00:14:26 +0000 From: Islero To: Kris Kennaway In-Reply-To: <20040215215227.GA57175@xor.obsecurity.org> References: <1076880741.85962.65.camel@cypress.380w.net> <20040215215227.GA57175@xor.obsecurity.org> Content-Type: text/plain Message-Id: <1076890465.85962.83.camel@cypress.380w.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 15 Feb 2004 16:14:25 -0800 Content-Transfer-Encoding: 7bit cc: "gnome@FreeBSD.org" cc: freebsd-ports@freebsd.org Subject: Re: Can't make INDEX-5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 00:14:27 -0000 You're right. Seems to have been the WITH_GTK setting that caused INDEX-5 make to fail. I commented out WITH_GTK= yes in my /etc/make.conf and the problem disappeared. Is there any reason why WITH_GTK is still needed? I'm running Gnome 2.4.1. The new make.conf is listed here: # -- use.perl generated deltas -- # # Created: Mon Dec 29 18:16:14 2003 # Setting to use base perl from ports: PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo CPUTYPE= i686 CFLAGS= -O -pipe GNOME_DESKTOP_VERSION= 2 WITH_GTK2= yes XFREE86_VERSION= 4 USA_RESIDENT=YES #WITH_GTK= yes WITH_GNOME= yes WITH_GNOME_DESKTOP=2 WITH_OPTIMIZED_CFLAGS= yes NOPROFILE= true NO_I4B= true NO_FORTRAN= true NO_BIND= true NOUUCP= true WITH_MOZILLA=mozilla-gtk2 WITH_POSTGRES=yes On Sun, 2004-02-15 at 13:52, Kris Kennaway wrote: > On Sun, Feb 15, 2004 at 01:32:21PM -0800, Islero wrote: > > I'm seeing the same problem with INDEX-5 on > > FreeBSD 5.2.1-RC2 FreeBSD 5.2.1-RC2 #1: Sat Feb 14 12:05:41 PST > > 2004 /usr/obj/usr/src/sys/CYPRESS i386 > > I think this began sometime last week when I was still on 5.2.1-RC > > > > I've deleted everything in /usr/ports/ and cvsup'ed ports-all from > > scratch (twice). Even removed my /usr/sup/refuse file. > > Portsdb -U stops in editors/ > > make index stops in editors/ > > make readmes won't complete either. Stops in editors/vim5 > > > > But if I delete editors/ I get this same message in reference to > > ports/chinese. INDEX-5 ends up looking like this: > > That shows you that this was the wrong thing to do ;-) > > > ===> editors/vim5 > > "/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional > > (${_USE_GNOME_ALL:Mgtk12}=="") > > "/usr/ports/Mk/bsd.gnome.mk", line 8: Need an operator > > "/usr/ports/Mk/bsd.port.mk", line 5161: if-less endif > > "/usr/ports/Mk/bsd.port.mk", line 5161: Need an operator > > make: fatal errors encountered -- cannot continue > > *** Error code 1 > > You apparently have WITH_GTK=1 set somewhere, and the port is broken > in this case. The USE_GTK needs to be modified to occur before the > .include ; this patch should do it. > > Index: Makefile > =================================================================== > RCS file: /rot13/mnt2/ncvs/ports/editors/vim5/Makefile,v > retrieving revision 1.127 > diff -u -r1.127 Makefile > --- Makefile 9 Feb 2004 17:29:19 -0000 1.127 > +++ Makefile 15 Feb 2004 21:51:08 -0000 > @@ -38,18 +38,6 @@ > MLINKS= vim.1 rvim.1 vim.1 rview.1 ectags.1 etags.1 > MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 > > -.include > - > -.if ${PERL_LEVEL} >= 500800 > -BROKEN= "Does not compile with perl 5.8" > -.endif > - > -# Determine if we need xpg4. > -# No xpg4 in libc below 400020 and 500005 > -.if ${OSVERSION} < 400020 && ${OSVERSION} < 500005 > -MAKE_ARGS+= LIBS=-lxpg4 > -.endif > - > .if !defined(LITE) > MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features" > I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim" > @@ -82,6 +70,18 @@ > MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte" > MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp" > .endif # LITE > + > +.include > + > +.if ${PERL_LEVEL} >= 500800 > +BROKEN= "Does not compile with perl 5.8" > +.endif > + > +# Determine if we need xpg4. > +# No xpg4 in libc below 400020 and 500005 > +.if ${OSVERSION} < 400020 && ${OSVERSION} < 500005 > +MAKE_ARGS+= LIBS=-lxpg4 > +.endif > > pre-build: > @(cd ${WRKSRC}; ${MAKE} distclean) > > > Kris