From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 13:52:30 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 18C9716A4CE; Sun, 15 Feb 2004 13:52:30 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECE5743D1D; Sun, 15 Feb 2004 13:52:29 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (45998b8a4fed8e886f56e5d4bbebdb39@adsl-67-119-53-169.dsl.lsan03.pacbell.net [67.119.53.169]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i1FLpYhF018092; Sun, 15 Feb 2004 13:51:34 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6D5DB66D0E; Sun, 15 Feb 2004 13:52:27 -0800 (PST) Date: Sun, 15 Feb 2004 13:52:27 -0800 From: Kris Kennaway To: Islero Message-ID: <20040215215227.GA57175@xor.obsecurity.org> References: <1076880741.85962.65.camel@cypress.380w.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <1076880741.85962.65.camel@cypress.380w.net> User-Agent: Mutt/1.4.1i 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: Sun, 15 Feb 2004 21:52:30 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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 >=20 > 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 ;-) > =3D=3D=3D> editors/vim5 > "/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional > (${_USE_GNOME_ALL:Mgtk12}=3D=3D"") > "/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=3D1 set somewhere, and the port is broken in this case. The USE_GTK needs to be modified to occur before the =2Einclude ; this patch should do it. Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=3D vim.1 rvim.1 vim.1 rview.1 ectags.1 etags.1 MLINKS+=3D vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 =20 -.include - -.if ${PERL_LEVEL} >=3D 500800 -BROKEN=3D "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+=3D LIBS=3D-lxpg4 -.endif - .if !defined(LITE) MAKE_ARGS+=3D CONF_OPT_MAX=3D"--enable-max-features" I18N=3D CONF_OPT_MULTIBYTE=3D"--enable-multibyte --enable-fontset --enabl= e-xim" @@ -82,6 +70,18 @@ MAKE_ARGS+=3D CONF_OPT_GUI=3D"--enable-gui=3Dno --without-x --enable-multi= byte" MAKE_ARGS+=3D CONF_OPT_PERL=3D"--disable-perlinterp --disable-pythoninterp= --disable-tclinterp" .endif # LITE + +.include + +.if ${PERL_LEVEL} >=3D 500800 +BROKEN=3D "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+=3D LIBS=3D-lxpg4 +.endif =20 pre-build: @(cd ${WRKSRC}; ${MAKE} distclean) Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAL+obWry0BWjoQKURAuR1AJ9Tgyl3/ec7wj9Txy+wwRuqLosbGQCeNjnc Zc0Mmi5/w1OQvFUscrk6QLU= =GbYS -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--