Can't make INDEX-5
Kris Kennaway
kris at obsecurity.org
Sun Feb 15 13:52:30 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040215/57aec163/attachment.bin
More information about the freebsd-ports
mailing list