Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 16:14:25 -0800
From:      Islero <islero@comcast.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Can't make INDEX-5
Message-ID:  <1076890465.85962.83.camel@cypress.380w.net>
In-Reply-To: <20040215215227.GA57175@xor.obsecurity.org>
References:  <1076880741.85962.65.camel@cypress.380w.net> <20040215215227.GA57175@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>; 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 <bsd.port.pre.mk>
> -
> -.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 <bsd.port.pre.mk>
> +
> +.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



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