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

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

--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 <bsd.port.pre.mk>; 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 <bsd.port.pre.mk>
-
-.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 <bsd.port.pre.mk>
+
+.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--



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